home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / STUTTGART / DOCS / CHELP / CLibs < prev    next >
Unknown  |  1995-07-18  |  37.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default
100% gt2 Kopftext: 'HELP(' default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 48 45 4c 50 28 00 00 00 | c9 00 00 00 ff ff ff ff |HELP(...|........|
|00000010| 2c 00 00 00 00 fd ff ff | 00 00 00 00 d8 10 00 00 |,.......|........|
|00000020| 00 01 00 00 00 00 00 00 | 24 00 00 00 44 49 52 24 |........|$...DIR$|
|00000030| e0 10 00 00 e0 10 00 00 | 0c 11 00 00 46 fd ff ff |........|....F...|
|00000040| 00 26 37 33 c7 01 00 00 | 13 00 00 00 00 00 00 00 |.&73....|........|
|00000050| 21 52 6f 6f 74 00 00 00 | d4 12 00 00 46 ff ff ff |!Root...|....F...|
|00000060| e7 9c 45 2f 7f 00 00 00 | 13 00 00 00 00 00 00 00 |..E/....|........|
|00000070| 61 63 6f 73 00 00 00 00 | 54 13 00 00 46 ff fa ff |acos....|T...F...|
|00000080| a7 66 93 2e b8 01 00 00 | 13 00 00 00 00 00 00 00 |.f......|........|
|00000090| 42 61 63 6b 47 72 6f 75 | 6e 64 00 00 0c 15 00 00 |BackGrou|nd......|
|000000a0| 46 ff ff ff 71 bd 39 2f | a6 03 00 00 13 00 00 00 |F...q.9/|........|
|000000b0| 00 00 00 00 63 74 79 70 | 65 2f 68 00 00 00 00 00 |....ctyp|e/h.....|
|000000c0| 46 ff ff ff d4 63 91 2e | 00 00 00 00 13 00 00 00 |F....c..|........|
|000000d0| 00 00 00 00 69 73 61 6c | 6e 75 6d 73 3e 63 74 79 |....isal|nums>cty|
|000000e0| 70 65 2f 68 00 00 00 00 | 00 00 00 00 46 ff ff ff |pe/h....|....F...|
|000000f0| 2a 66 91 2e 00 00 00 00 | 13 00 00 00 00 00 00 00 |*f......|........|
|00000100| 69 73 61 6c 70 68 61 3e | 63 74 79 70 65 2f 68 00 |isalpha>|ctype/h.|
|00000110| 00 00 00 00 46 ff ff ff | e3 8f 91 2e 00 00 00 00 |....F...|........|
|00000120| 13 00 00 00 00 00 00 00 | 69 73 63 6e 74 72 6c 3e |........|iscntrl>|
|00000130| 63 74 79 70 65 2f 68 00 | 00 00 00 00 46 ff ff ff |ctype/h.|....F...|
|00000140| 1d 68 91 2e 00 00 00 00 | 13 00 00 00 00 00 00 00 |.h......|........|
|00000150| 69 73 64 69 67 69 74 3e | 63 74 79 70 65 2f 68 00 |isdigit>|ctype/h.|
|00000160| 00 00 00 00 46 ff ff ff | fb 96 91 2e 00 00 00 00 |....F...|........|
|00000170| 13 00 00 00 00 00 00 00 | 69 73 67 72 61 70 68 3e |........|isgraph>|
|00000180| 63 74 79 70 65 2f 68 00 | 00 00 00 00 46 ff ff ff |ctype/h.|....F...|
|00000190| 48 99 91 2e 00 00 00 00 | 13 00 00 00 00 00 00 00 |H.......|........|
|000001a0| 69 73 6c 6f 77 65 72 3e | 63 74 79 70 65 2f 68 00 |islower>|ctype/h.|
|000001b0| 00 00 00 00 46 ff ff ff | 4e 9b 91 2e 00 00 00 00 |....F...|N.......|
|000001c0| 13 00 00 00 00 00 00 00 | 69 73 70 72 69 6e 74 3e |........|isprint>|
|000001d0| 63 74 79 70 65 2f 68 00 | 00 00 00 00 46 ff ff ff |ctype/h.|....F...|
|000001e0| 4a 9f 91 2e 00 00 00 00 | 13 00 00 00 00 00 00 00 |J.......|........|
|000001f0| 69 73 70 75 6e 63 74 3e | 63 74 79 70 65 2f 68 00 |ispunct>|ctype/h.|
|00000200| 00 00 00 00 46 ff ff ff | dd f2 90 2e 00 00 00 00 |....F...|........|
|00000210| 13 00 00 00 00 00 00 00 | 69 73 73 70 61 63 65 3e |........|isspace>|
|00000220| 63 74 79 70 65 2f 68 00 | 00 00 00 00 46 ff ff ff |ctype/h.|....F...|
|00000230| 3a 6a 91 2e 00 00 00 00 | 13 00 00 00 00 00 00 00 |:j......|........|
|00000240| 69 73 75 70 70 65 72 3e | 63 74 79 70 65 2f 68 00 |isupper>|ctype/h.|
|00000250| 00 00 00 00 46 ff ff ff | 3a 6a 91 2e 00 00 00 00 |....F...|:j......|
|00000260| 13 00 00 00 00 00 00 00 | 69 73 78 64 69 67 69 74 |........|isxdigit|
|00000270| 3e 63 74 79 70 65 2f 68 | 00 00 00 00 b4 18 00 00 |>ctype/h|........|
|00000280| 46 fd ff ff b9 3b 06 30 | 28 00 00 00 13 00 00 00 |F....;.0|(.......|
|00000290| 00 00 00 00 53 74 79 6c | 65 00 00 00 00 00 00 00 |....Styl|e.......|
|000002a0| 46 ff ff ff 2a 66 91 2e | 00 00 00 00 13 00 00 00 |F...*f..|........|
|000002b0| 00 00 00 00 74 6f 6c 6f | 77 65 72 3e 63 74 79 70 |....tolo|wer>ctyp|
|000002c0| 65 2f 68 00 00 00 00 00 | 46 ff ff ff 2a 66 91 2e |e/h.....|F...*f..|
|000002d0| 00 00 00 00 13 00 00 00 | 00 00 00 00 74 6f 75 70 |........|....toup|
|000002e0| 70 65 72 3e 63 74 79 70 | 65 2f 68 00 dc 18 00 00 |per>ctyp|e/h.....|
|000002f0| 46 ff ff ff a0 c0 a6 2f | d4 00 00 00 13 00 00 00 |F....../|........|
|00000300| 00 00 00 00 61 62 6f 72 | 74 00 00 00 b0 19 00 00 |....abor|t.......|
|00000310| 46 ff ff ff 65 a0 45 2f | 7d 00 00 00 13 00 00 00 |F...e.E/|}.......|
|00000320| 00 00 00 00 61 73 69 6e | 00 00 00 00 30 1a 00 00 |....asin|....0...|
|00000330| 46 ff ff ff 74 a4 45 2f | 9d 00 00 00 13 00 00 00 |F...t.E/|........|
|00000340| 00 00 00 00 61 74 61 6e | 00 00 00 00 d0 1a 00 00 |....atan|........|
|00000350| 46 ff ff ff 3d 73 3a 2f | d3 00 00 00 13 00 00 00 |F...=s:/|........|
|00000360| 00 00 00 00 61 74 61 6e | 32 00 00 00 a4 1b 00 00 |....atan|2.......|
|00000370| 46 ff ff ff e3 7f 3a 2f | 7a 00 00 00 13 00 00 00 |F.....:/|z.......|
|00000380| 00 00 00 00 63 6f 73 00 | 20 1c 00 00 46 ff ff ff |....cos.| ...F...|
|00000390| 3e 8c 3a 2f 87 00 00 00 | 13 00 00 00 00 00 00 00 |>.:/....|........|
|000003a0| 63 6f 73 68 00 00 00 00 | a8 1c 00 00 46 ff ff ff |cosh....|....F...|
|000003b0| 33 a6 3a 2f 89 00 00 00 | 13 00 00 00 00 00 00 00 |3.:/....|........|
|000003c0| 65 78 70 00 34 1d 00 00 | 46 ff ff ff 50 0f aa 2f |exp.4...|F...P../|
|000003d0| 96 00 00 00 13 00 00 00 | 00 00 00 00 66 61 62 73 |........|....fabs|
|000003e0| 00 00 00 00 cc 1d 00 00 | 46 ff ff ff a4 cb 3a 2f |........|F.....:/|
|000003f0| 84 00 00 00 13 00 00 00 | 00 00 00 00 66 6c 6f 6f |........|....floo|
|00000400| 72 00 00 00 50 1e 00 00 | 46 ff ff ff ab dd 3a 2f |r...P...|F.....:/|
|00000410| 8b 00 00 00 13 00 00 00 | 00 00 00 00 66 6d 6f 64 |........|....fmod|
|00000420| 00 00 00 00 dc 1e 00 00 | 46 ff ff ff 5d f0 3c 2f |........|F...].</|
|00000430| d0 00 00 00 13 00 00 00 | 00 00 00 00 66 72 65 78 |........|....frex|
|00000440| 70 00 00 00 ac 1f 00 00 | 46 ff ff ff 56 05 3d 2f |p.......|F...V.=/|
|00000450| 9d 00 00 00 13 00 00 00 | 00 00 00 00 6c 64 65 78 |........|....ldex|
|00000460| 70 00 00 00 4c 20 00 00 | 46 ff ff ff 27 2f 3b 2f |p...L ..|F...'/;/|
|00000470| 87 00 00 00 13 00 00 00 | 00 00 00 00 6c 6f 67 00 |........|....log.|
|00000480| d4 20 00 00 46 ff ff ff | e0 2e a6 2e 8d 00 00 00 |. ..F...|........|
|00000490| 13 00 00 00 00 00 00 00 | 6c 6f 67 31 30 00 00 00 |........|log10...|
|000004a0| 64 21 00 00 46 ff ff ff | 4c 8c 46 2f 39 01 00 00 |d!..F...|L.F/9...|
|000004b0| 13 00 00 00 00 00 00 00 | 6d 6f 64 66 00 00 00 00 |........|modf....|
|000004c0| a0 22 00 00 46 ff ff ff | b9 fb a5 2e b5 00 00 00 |."..F...|........|
|000004d0| 13 00 00 00 00 00 00 00 | 70 6f 77 00 58 23 00 00 |........|pow.X#..|
|000004e0| 46 ff ff ff c6 01 a6 2e | 78 00 00 00 13 00 00 00 |F.......|x.......|
|000004f0| 00 00 00 00 73 69 6e 00 | d0 23 00 00 46 ff ff ff |....sin.|.#..F...|
|00000500| b3 08 a6 2e 84 00 00 00 | 13 00 00 00 00 00 00 00 |........|........|
|00000510| 73 69 6e 68 00 00 00 00 | 54 24 00 00 46 ff ff ff |sinh....|T$..F...|
|00000520| fb 0c a6 2e 81 00 00 00 | 13 00 00 00 00 00 00 00 |........|........|
|00000530| 73 71 72 74 00 00 00 00 | d8 24 00 00 46 ff ff ff |sqrt....|.$..F...|
|00000540| 83 11 a6 2e 7b 00 00 00 | 13 00 00 00 00 00 00 00 |....{...|........|
|00000550| 74 61 6e 00 54 25 00 00 | 46 ff ff ff 38 16 a6 2e |tan.T%..|F...8...|
|00000560| 88 00 00 00 13 00 00 00 | 00 00 00 00 74 61 6e 68 |........|....tanh|
|00000570| 00 00 00 00 dc 25 00 00 | 46 fd ff ff 6c 46 44 2f |.....%..|F...lFD/|
|00000580| 23 00 00 00 13 00 00 00 | 00 00 00 00 58 53 74 79 |#.......|....XSty|
|00000590| 6c 65 00 00 00 26 00 00 | 46 fd ff ff 31 4e 3b 2f |le...&..|F...1N;/|
|000005a0| 14 00 00 00 13 00 00 00 | 00 00 00 00 58 53 74 79 |........|....XSty|
|000005b0| 6c 65 4f 66 66 00 00 00 | 14 26 00 00 46 ff ff ff |leOff...|.&..F...|
|000005c0| bf 8c 9a 2f 4d 03 00 00 | 13 00 00 00 00 00 00 00 |.../M...|........|
|000005d0| 73 74 64 69 6f 2f 68 00 | 64 29 00 00 46 ff ff ff |stdio/h.|d)..F...|
|000005e0| f1 0c 47 2f 1c 06 00 00 | 13 00 00 00 00 00 00 00 |..G/....|........|
|000005f0| 70 72 69 6e 74 66 00 00 | 80 2f 00 00 46 ff ff ff |printf..|./..F...|
|00000600| 81 94 46 2f 4d 06 00 00 | 13 00 00 00 00 00 00 00 |..F/M...|........|
|00000610| 70 72 69 6e 74 66 32 00 | d0 35 00 00 46 ff ff ff |printf2.|.5..F...|
|00000620| 85 66 48 2f 00 03 00 00 | 13 00 00 00 00 00 00 00 |.fH/....|........|
|00000630| 73 63 61 6e 66 00 00 00 | d0 38 00 00 46 ff ff ff |scanf...|.8..F...|
|00000640| 7c a1 48 2f d1 00 00 00 | 13 00 00 00 00 00 00 00 ||.H/....|........|
|00000650| 73 73 63 61 6e 66 00 00 | a4 39 00 00 46 ff ff ff |sscanf..|.9..F...|
|00000660| a5 b7 48 2f ce 00 00 00 | 13 00 00 00 00 00 00 00 |..H/....|........|
|00000670| 73 70 72 69 6e 74 66 00 | 74 3a 00 00 46 ff ff ff |sprintf.|t:..F...|
|00000680| 71 95 48 2f c7 00 00 00 | 13 00 00 00 00 00 00 00 |q.H/....|........|
|00000690| 66 73 63 61 6e 66 00 00 | 3c 3b 00 00 46 ff ff ff |fscanf..|<;..F...|
|000006a0| 12 b3 48 2f cc 00 00 00 | 13 00 00 00 00 00 00 00 |..H/....|........|
|000006b0| 66 70 72 69 6e 74 66 00 | 08 3c 00 00 46 ff ff ff |fprintf.|.<..F...|
|000006c0| 20 f8 48 2f 97 00 00 00 | 13 00 00 00 00 00 00 00 | .H/....|........|
|000006d0| 67 65 74 63 68 61 72 00 | a0 3c 00 00 46 ff ff ff |getchar.|.<..F...|
|000006e0| 74 41 49 2f 85 00 00 00 | 13 00 00 00 00 00 00 00 |tAI/....|........|
|000006f0| 70 75 74 63 68 61 72 00 | 28 3d 00 00 46 ff ff ff |putchar.|(=..F...|
|00000700| 23 4d 49 2f 83 00 00 00 | 13 00 00 00 00 00 00 00 |#MI/....|........|
|00000710| 70 75 74 63 00 00 00 00 | ac 3d 00 00 46 ff ff ff |putc....|.=..F...|
|00000720| e1 62 97 2f 8f 00 00 00 | 13 00 00 00 00 00 00 00 |.b./....|........|
|00000730| 67 65 74 63 00 00 00 00 | 3c 3e 00 00 46 ff ff ff |getc....|<>..F...|
|00000740| 4f 59 4a 2f 4c 01 00 00 | 13 00 00 00 00 00 00 00 |OYJ/L...|........|
|00000750| 67 65 74 73 00 00 00 00 | 88 3f 00 00 46 ff ff ff |gets....|.?..F...|
|00000760| ea 6b 4a 2f ff 00 00 00 | 13 00 00 00 00 00 00 00 |.kJ/....|........|
|00000770| 66 67 65 74 73 00 00 00 | 88 40 00 00 46 ff ff ff |fgets...|.@..F...|
|00000780| ac 08 4a 2f b3 00 00 00 | 13 00 00 00 00 00 00 00 |..J/....|........|
|00000790| 70 75 74 73 00 00 00 00 | 3c 41 00 00 46 ff ff ff |puts....|<A..F...|
|000007a0| 87 8e 4a 2f bd 00 00 00 | 13 00 00 00 00 00 00 00 |..J/....|........|
|000007b0| 66 70 75 74 73 00 00 00 | fc 41 00 00 46 ff ff ff |fputs...|.A..F...|
|000007c0| 63 18 4b 2f d8 00 00 00 | 13 00 00 00 00 00 00 00 |c.K/....|........|
|000007d0| 66 72 65 61 64 00 00 00 | d4 42 00 00 46 ff ff ff |fread...|.B..F...|
|000007e0| 0c 61 95 2f 18 03 00 00 | 13 00 00 00 00 00 00 00 |.a./....|........|
|000007f0| 66 6f 70 65 6e 00 00 00 | ec 45 00 00 46 ff ff ff |fopen...|.E..F...|
|00000800| 26 96 97 2f ff 00 00 00 | 13 00 00 00 00 00 00 00 |&../....|........|
|00000810| 66 72 65 6f 70 65 6e 00 | ec 46 00 00 46 ff ff ff |freopen.|.F..F...|
|00000820| 7c a8 97 2f 9b 00 00 00 | 13 00 00 00 00 00 00 00 ||../....|........|
|00000830| 66 63 6c 6f 73 65 00 00 | 88 47 00 00 46 ff ff ff |fclose..|.G..F...|
|00000840| 42 e2 96 2f 4b 02 00 00 | 13 00 00 00 00 00 00 00 |B../K...|........|
|00000850| 66 73 65 65 6b 00 00 00 | d4 49 00 00 46 ff ff ff |fseek...|.I..F...|
|00000860| 5d 3e 98 2f 15 01 00 00 | 13 00 00 00 00 00 00 00 |]>./....|........|
|00000870| 66 74 65 6c 6c 00 00 00 | ec 4a 00 00 46 ff ff ff |ftell...|.J..F...|
|00000880| 6c 27 97 2f d8 00 00 00 | 13 00 00 00 00 00 00 00 |l'./....|........|
|00000890| 66 65 6f 66 00 00 00 00 | c4 4b 00 00 46 ff ff ff |feof....|.K..F...|
|000008a0| 22 66 97 2f 91 00 00 00 | 13 00 00 00 00 00 00 00 |"f./....|........|
|000008b0| 66 67 65 74 63 00 00 00 | 58 4c 00 00 46 ff ff ff |fgetc...|XL..F...|
|000008c0| c1 6d 97 2f 85 00 00 00 | 13 00 00 00 00 00 00 00 |.m./....|........|
|000008d0| 66 70 75 74 63 00 00 00 | e0 4c 00 00 46 ff ff ff |fputc...|.L..F...|
|000008e0| 45 f0 97 2f cb 00 00 00 | 13 00 00 00 00 00 00 00 |E../....|........|
|000008f0| 66 66 6c 75 73 68 00 00 | ac 4d 00 00 46 ff ff ff |fflush..|.M..F...|
|00000900| dd 37 98 2f dc 00 00 00 | 13 00 00 00 00 00 00 00 |.7./....|........|
|00000910| 72 65 77 69 6e 64 00 00 | 88 4e 00 00 46 ff ff ff |rewind..|.N..F...|
|00000920| d6 66 98 2f c8 00 00 00 | 13 00 00 00 00 00 00 00 |.f./....|........|
|00000930| 72 65 6d 6f 76 65 00 00 | 50 4f 00 00 46 ff ff ff |remove..|PO..F...|
|00000940| 23 78 98 2f de 00 00 00 | 13 00 00 00 00 00 00 00 |#x./....|........|
|00000950| 72 65 6e 61 6d 65 00 00 | 30 50 00 00 46 ff ff ff |rename..|0P..F...|
|00000960| 25 ea 98 2f e8 00 00 00 | 13 00 00 00 00 00 00 00 |%../....|........|
|00000970| 74 6d 70 66 69 6c 65 00 | 18 51 00 00 46 ff ff ff |tmpfile.|.Q..F...|
|00000980| 6c d6 98 2f dc 00 00 00 | 13 00 00 00 00 00 00 00 |l../....|........|
|00000990| 74 6d 70 6e 61 6d 00 00 | f4 51 00 00 46 ff ff ff |tmpnam..|.Q..F...|
|000009a0| cf 22 99 2f e4 00 00 00 | 13 00 00 00 00 00 00 00 |."./....|........|
|000009b0| 66 77 72 69 74 65 00 00 | d8 52 00 00 46 ff ff ff |fwrite..|.R..F...|
|000009c0| 92 8b 99 2f 2f 01 00 00 | 13 00 00 00 00 00 00 00 |...//...|........|
|000009d0| 75 6e 67 65 74 63 00 00 | 08 54 00 00 46 ff ff ff |ungetc..|.T..F...|
|000009e0| 9b d3 99 2f fa 00 00 00 | 13 00 00 00 00 00 00 00 |.../....|........|
|000009f0| 66 67 65 74 70 6f 73 00 | 04 55 00 00 46 ff ff ff |fgetpos.|.U..F...|
|00000a00| 60 fd 99 2f fd 00 00 00 | 13 00 00 00 00 00 00 00 |`../....|........|
|00000a10| 66 73 65 74 70 6f 73 00 | 04 56 00 00 46 ff ff ff |fsetpos.|.V..F...|
|00000a20| 04 e3 c5 2f 97 01 00 00 | 13 00 00 00 00 00 00 00 |.../....|........|
|00000a30| 73 74 64 6c 69 62 2f 68 | 00 00 00 00 9c 57 00 00 |stdlib/h|.....W..|
|00000a40| 46 ff ff ff 3a 6e 43 33 | 81 02 00 00 13 00 00 00 |F...:nC3|........|
|00000a50| 00 00 00 00 6d 61 74 68 | 2f 68 00 00 20 5a 00 00 |....math|/h.. Z..|
|00000a60| 46 ff ff ff 83 db aa 2f | c4 00 00 00 13 00 00 00 |F....../|........|
|00000a70| 00 00 00 00 61 62 73 00 | e4 5a 00 00 46 ff ff ff |....abs.|.Z..F...|
|00000a80| 04 0f b7 2f 6a 01 00 00 | 13 00 00 00 00 00 00 00 |.../j...|........|
|00000a90| 61 74 65 78 69 74 00 00 | 50 5c 00 00 46 ff ff ff |atexit..|P\..F...|
|00000aa0| 68 4e a7 2f 7b 01 00 00 | 13 00 00 00 00 00 00 00 |hN./{...|........|
|00000ab0| 65 78 69 74 00 00 00 00 | cc 5d 00 00 46 ff ff ff |exit....|.]..F...|
|00000ac0| d4 94 aa 2f 19 02 00 00 | 13 00 00 00 00 00 00 00 |.../....|........|
|00000ad0| 61 74 6f 66 00 00 00 00 | 00 00 00 00 46 ff ff ff |atof....|....F...|
|00000ae0| 26 d4 a9 2f 00 00 00 00 | 13 00 00 00 00 00 00 00 |&../....|........|
|00000af0| 61 74 6f 69 3e 61 74 6f | 66 00 00 00 00 00 00 00 |atoi>ato|f.......|
|00000b00| 46 ff ff ff a1 d5 a9 2f | 00 00 00 00 13 00 00 00 |F....../|........|
|00000b10| 00 00 00 00 61 74 6f 6c | 3e 61 74 6f 66 00 00 00 |....atol|>atof...|
|00000b20| 00 00 00 00 46 ff ff ff | ff d6 aa 2f 00 00 00 00 |....F...|.../....|
|00000b30| 13 00 00 00 00 00 00 00 | 6c 61 62 73 3e 61 62 73 |........|labs>abs|
|00000b40| 00 00 00 00 e8 5f 00 00 | 46 ff ff ff b8 87 b3 2f |....._..|F....../|
|00000b50| 9e 01 00 00 13 00 00 00 | 00 00 00 00 63 61 6c 6c |........|....call|
|00000b60| 6f 63 00 00 88 61 00 00 | 46 ff ff ff a8 0e b4 2f |oc...a..|F....../|
|00000b70| 68 01 00 00 13 00 00 00 | 00 00 00 00 64 69 76 00 |h.......|....div.|
|00000b80| 00 00 00 00 46 ff ff ff | 73 fb b3 2f 00 00 00 00 |....F...|s../....|
|00000b90| 13 00 00 00 00 00 00 00 | 6c 64 69 76 3e 64 69 76 |........|ldiv>div|
|00000ba0| 00 00 00 00 00 00 00 00 | 46 ff ff ff fc 69 b7 2f |........|F....i./|
|00000bb0| 00 00 00 00 13 00 00 00 | 00 00 00 00 6d 61 6c 6c |........|....mall|
|00000bc0| 6f 63 3e 63 61 6c 6c 6f | 63 00 00 00 f0 62 00 00 |oc>callo|c....b..|
|00000bd0| 46 ff ff ff 0d 81 b7 2f | 23 02 00 00 13 00 00 00 |F....../|#.......|
|00000be0| 00 00 00 00 72 65 61 6c | 6c 6f 63 00 14 65 00 00 |....real|loc..e..|
|00000bf0| 46 ff ff ff d3 76 b7 2f | f3 00 00 00 13 00 00 00 |F....v./|........|
|00000c00| 00 00 00 00 66 72 65 65 | 00 00 00 00 08 66 00 00 |....free|.....f..|
|00000c10| 46 ff ff ff a8 e7 b7 2f | 1e 01 00 00 13 00 00 00 |F....../|........|
|00000c20| 00 00 00 00 67 65 74 65 | 6e 76 00 00 28 67 00 00 |....gete|nv..(g..|
|00000c30| 46 ff ff ff 49 2e ba 2f | a8 03 00 00 13 00 00 00 |F...I../|........|
|00000c40| 00 00 00 00 71 73 6f 72 | 74 00 00 00 d0 6a 00 00 |....qsor|t....j..|
|00000c50| 46 ff ff ff 64 a5 ba 2f | f9 00 00 00 13 00 00 00 |F...d../|........|
|00000c60| 00 00 00 00 72 61 6e 64 | 00 00 00 00 cc 6b 00 00 |....rand|.....k..|
|00000c70| 46 ff ff ff 9a e7 ba 2f | e2 00 00 00 13 00 00 00 |F....../|........|
|00000c80| 00 00 00 00 73 72 61 6e | 64 00 00 00 b0 6c 00 00 |....sran|d....l..|
|00000c90| 46 ff ff ff 62 1f bc 2f | 0f 03 00 00 13 00 00 00 |F...b../|........|
|00000ca0| 00 00 00 00 73 74 72 74 | 6f 64 00 00 00 00 00 00 |....strt|od......|
|00000cb0| 46 ff ff ff 46 0a bc 2f | 00 00 00 00 13 00 00 00 |F...F../|........|
|00000cc0| 00 00 00 00 73 74 72 74 | 6f 6c 3e 73 74 72 74 6f |....strt|ol>strto|
|00000cd0| 64 00 00 00 00 00 00 00 | 46 ff ff ff 70 27 bc 2f |d.......|F...p'./|
|00000ce0| 00 00 00 00 13 00 00 00 | 00 00 00 00 73 74 72 74 |........|....strt|
|00000cf0| 6f 75 6c 3e 73 74 72 74 | 6f 64 00 00 c0 6f 00 00 |oul>strt|od...o..|
|00000d00| 46 ff ff ff 03 ae bc 2f | 81 01 00 00 13 00 00 00 |F....../|........|
|00000d10| 00 00 00 00 73 79 73 74 | 65 6d 00 00 44 71 00 00 |....syst|em..Dq..|
|00000d20| 46 ff ff ff f5 a4 c5 2f | 2e 02 00 00 13 00 00 00 |F....../|........|
|00000d30| 00 00 00 00 73 74 72 69 | 6e 67 2f 68 00 00 00 00 |....stri|ng/h....|
|00000d40| 74 73 00 00 46 ff ff ff | 61 77 c1 2f 3f 01 00 00 |ts..F...|aw./?...|
|00000d50| 13 00 00 00 00 00 00 00 | 6d 65 6d 63 68 72 00 00 |........|memchr..|
|00000d60| 00 00 00 00 46 ff ff ff | 24 7a be 2f 00 00 00 00 |....F...|$z./....|
|00000d70| 13 00 00 00 00 00 00 00 | 73 74 72 63 68 72 3e 6d |........|strchr>m|
|00000d80| 65 6d 63 68 72 00 00 00 | b4 74 00 00 46 ff ff ff |emchr...|.t..F...|
|00000d90| e7 b7 c0 2f da 01 00 00 | 13 00 00 00 00 00 00 00 |.../....|........|
|00000da0| 6d 65 6d 63 6d 70 00 00 | 00 00 00 00 46 ff ff ff |memcmp..|....F...|
|00000db0| ef e5 be 2f 00 00 00 00 | 13 00 00 00 00 00 00 00 |.../....|........|
|00000dc0| 73 74 72 63 6d 70 3e 6d | 65 6d 63 6d 70 00 00 00 |strcmp>m|emcmp...|
|00000dd0| 90 76 00 00 46 ff ff ff | 0e 11 c5 2f da 01 00 00 |.v..F...|.../....|
|00000de0| 13 00 00 00 00 00 00 00 | 6d 65 6d 63 70 79 00 00 |........|memcpy..|
|00000df0| 00 00 00 00 46 ff ff ff | bd 1a bf 2f 00 00 00 00 |....F...|.../....|
|00000e00| 13 00 00 00 00 00 00 00 | 73 74 72 63 70 79 3e 6d |........|strcpy>m|
|00000e10| 65 6d 63 70 79 00 00 00 | 6c 78 00 00 46 ff ff ff |emcpy...|lx..F...|
|00000e20| a1 50 bf 2f a4 00 00 00 | 13 00 00 00 00 00 00 00 |.P./....|........|
|00000e30| 6d 65 6d 73 65 74 00 00 | 10 79 00 00 46 ff ff ff |memset..|.y..F...|
|00000e40| 39 bc c0 2f 52 01 00 00 | 13 00 00 00 00 00 00 00 |9../R...|........|
|00000e50| 73 74 72 63 61 74 00 00 | 64 7a 00 00 46 ff ff ff |strcat..|dz..F...|
|00000e60| e6 e8 c1 2f fc 00 00 00 | 13 00 00 00 00 00 00 00 |.../....|........|
|00000e70| 73 74 72 63 73 70 6e 00 | 60 7b 00 00 46 ff ff ff |strcspn.|`{..F...|
|00000e80| 8b 36 c0 2f 8d 00 00 00 | 13 00 00 00 00 00 00 00 |.6./....|........|
|00000e90| 73 74 72 6c 65 6e 00 00 | 00 00 00 00 46 ff ff ff |strlen..|....F...|
|00000ea0| 90 63 c0 2f 00 00 00 00 | 13 00 00 00 00 00 00 00 |.c./....|........|
|00000eb0| 73 74 72 6e 63 61 74 3e | 73 74 72 63 61 74 00 00 |strncat>|strcat..|
|00000ec0| f0 7b 00 00 46 ff ff ff | c8 8d c1 2f f5 00 00 00 |.{..F...|.../....|
|00000ed0| 13 00 00 00 00 00 00 00 | 73 74 72 70 62 72 6b 00 |........|strpbrk.|
|00000ee0| e8 7c 00 00 46 ff ff ff | 90 b6 c1 2f 08 01 00 00 |.|..F...|.../....|
|00000ef0| 13 00 00 00 00 00 00 00 | 73 74 72 72 63 68 72 00 |........|strrchr.|
|00000f00| f0 7d 00 00 46 ff ff ff | b6 e0 c1 2f 11 01 00 00 |.}..F...|.../....|
|00000f10| 13 00 00 00 00 00 00 00 | 73 74 72 73 70 6e 00 00 |........|strspn..|
|00000f20| 04 7f 00 00 46 ff ff ff | ca 18 c2 2f 01 01 00 00 |....F...|.../....|
|00000f30| 13 00 00 00 00 00 00 00 | 73 74 72 73 74 72 00 00 |........|strstr..|
|00000f40| 08 80 00 00 46 ff ff ff | 18 03 c4 2f 39 04 00 00 |....F...|.../9...|
|00000f50| 13 00 00 00 00 00 00 00 | 73 74 72 74 6f 6b 00 00 |........|strtok..|
|00000f60| 44 84 00 00 46 ff ff ff | c7 7d c5 2f 33 01 00 00 |D...F...|.}./3...|
|00000f70| 13 00 00 00 00 00 00 00 | 6d 65 6d 6d 6f 76 65 00 |........|memmove.|
|00000f80| 78 85 00 00 46 ff ff ff | c7 34 0c 30 ea 01 00 00 |x...F...|.4.0....|
|00000f90| 13 00 00 00 00 00 00 00 | 74 69 6d 65 2f 68 00 00 |........|time/h..|
|00000fa0| 64 87 00 00 46 ff ff ff | 24 c6 06 30 eb 00 00 00 |d...F...|$..0....|
|00000fb0| 13 00 00 00 00 00 00 00 | 61 73 63 74 69 6d 65 00 |........|asctime.|
|00000fc0| 50 88 00 00 46 ff ff ff | f2 0d 06 30 d7 00 00 00 |P...F...|...0....|
|00000fd0| 13 00 00 00 00 00 00 00 | 63 74 69 6d 65 00 00 00 |........|ctime...|
|00000fe0| 28 89 00 00 46 ff ff ff | 46 f7 06 30 f1 00 00 00 |(...F...|F..0....|
|00000ff0| 13 00 00 00 00 00 00 00 | 63 6c 6f 63 6b 00 00 00 |........|clock...|
|00001000| 1c 8a 00 00 46 ff ff ff | 45 1c 07 30 ad 00 00 00 |....F...|E..0....|
|00001010| 13 00 00 00 00 00 00 00 | 64 69 66 66 74 69 6d 65 |........|difftime|
|00001020| 00 00 00 00 cc 8a 00 00 | 46 ff ff ff f0 1f 08 30 |........|F......0|
|00001030| f9 00 00 00 13 00 00 00 | 00 00 00 00 67 6d 74 69 |........|....gmti|
|00001040| 6d 65 00 00 c8 8b 00 00 | 46 ff ff ff f1 81 07 30 |me......|F......0|
|00001050| fa 00 00 00 13 00 00 00 | 00 00 00 00 6c 6f 63 61 |........|....loca|
|00001060| 6c 74 69 6d 65 00 00 00 | c4 8c 00 00 46 fd ff ff |ltime...|....F...|
|00001070| bb a2 07 30 12 00 00 00 | 13 00 00 00 00 00 00 00 |...0....|........|
|00001080| 21 43 6f 6e 66 69 67 75 | 72 65 00 00 d8 8c 00 00 |!Configu|re......|
|00001090| 46 ff ff ff a8 ff 08 30 | 40 01 00 00 13 00 00 00 |F......0|@.......|
|000010a0| 00 00 00 00 6d 6b 74 69 | 6d 65 00 00 18 8e 00 00 |....mkti|me......|
|000010b0| 46 ff ff ff c3 14 0c 30 | 33 04 00 00 13 00 00 00 |F......0|3.......|
|000010c0| 00 00 00 00 73 74 72 66 | 74 69 6d 65 00 00 00 00 |....strf|time....|
|000010d0| 4c 92 00 00 46 fd ff ff | 2f cc 40 33 41 03 00 00 |L...F...|/.@3A...|
|000010e0| 13 00 00 00 00 00 00 00 | 74 6d 00 00 90 95 00 00 |........|tm......|
|000010f0| 46 ff ff ff 87 21 43 33 | d9 00 00 00 13 00 00 00 |F....!C3|........|
|00001100| 00 00 00 00 65 72 72 6e | 6f 00 00 00 44 41 54 41 |....errn|o...DATA|
|00001110| c7 01 00 00 43 20 48 65 | 6c 70 0a 23 49 6e 63 6c |....C He|lp.#Incl|
|00001120| 75 64 65 20 53 74 79 6c | 65 0a 23 44 72 61 77 20 |ude Styl|e.#Draw |
|00001130| 30 2c 20 30 20 42 61 63 | 6b 47 72 6f 75 6e 64 0a |0, 0 Bac|kGround.|
|00001140| 23 49 6e 64 65 6e 74 20 | 31 36 0a 54 68 69 73 20 |#Indent |16.This |
|00001150| 69 73 20 74 68 65 20 43 | 20 6c 69 62 72 61 72 69 |is the C| librari|
|00001160| 65 73 20 68 65 6c 70 20 | 70 61 67 65 2e 20 49 74 |es help |page. It|
|00001170| 20 68 61 73 20 68 65 6c | 70 20 6f 6e 20 74 68 65 | has hel|p on the|
|00001180| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 41 4e 53 49 20 | followi|ng ANSI |
|00001190| 43 20 6c 69 62 72 61 72 | 69 65 73 3a 0a 23 4c 69 |C librar|ies:.#Li|
|000011a0| 6e 65 0a 23 57 72 61 70 | 20 6f 66 66 0a 3c 63 74 |ne.#Wrap| off.<ct|
|000011b0| 79 70 65 2e 68 3d 3e 63 | 74 79 70 65 2f 68 3e 09 |ype.h=>c|type/h>.|
|000011c0| 43 68 61 72 61 63 74 65 | 72 20 74 79 70 65 73 20 |Characte|r types |
|000011d0| 61 6e 64 20 63 6f 6e 76 | 65 72 73 69 6f 6e 73 0a |and conv|ersions.|
|000011e0| 3c 6d 61 74 68 2e 68 3d | 3e 6d 61 74 68 2f 68 3e |<math.h=|>math/h>|
|000011f0| 09 4d 61 74 68 65 6d 61 | 74 69 63 61 6c 20 66 75 |.Mathema|tical fu|
|00001200| 6e 63 74 69 6f 6e 73 0a | 3c 73 74 64 69 6f 2e 68 |nctions.|<stdio.h|
|00001210| 3d 3e 73 74 64 69 6f 2f | 68 3e 09 53 63 72 65 65 |=>stdio/|h>.Scree|
|00001220| 6e 20 61 6e 64 20 66 69 | 6c 65 20 69 6e 70 75 74 |n and fi|le input|
|00001230| 20 61 6e 64 20 6f 75 74 | 70 75 74 0a 3c 73 74 64 | and out|put.<std|
|00001240| 6c 69 62 2e 68 3d 3e 73 | 74 64 6c 69 62 2f 68 3e |lib.h=>s|tdlib/h>|
|00001250| 09 4c 6f 74 73 20 6f 66 | 20 75 73 65 66 75 6c 20 |.Lots of| useful |
|00001260| 72 6f 75 74 69 6e 65 73 | 0a 3c 73 74 72 69 6e 67 |routines|.<string|
|00001270| 2e 68 3d 3e 73 74 72 69 | 6e 67 2f 68 3e 09 53 74 |.h=>stri|ng/h>.St|
|00001280| 72 69 6e 67 20 28 61 6e | 64 20 6d 65 6d 6f 72 79 |ring (an|d memory|
|00001290| 29 20 6d 61 6e 69 70 75 | 6c 61 74 69 6f 6e 0a 3c |) manipu|lation.<|
|000012a0| 74 69 6d 65 2e 68 3d 3e | 74 69 6d 65 2f 68 3e 09 |time.h=>|time/h>.|
|000012b0| 54 69 6d 65 20 68 61 6e | 64 6c 69 6e 67 20 66 75 |Time han|dling fu|
|000012c0| 6e 63 74 69 6f 6e 73 0a | 23 77 72 61 70 0a 23 4c |nctions.|#wrap.#L|
|000012d0| 69 6e 65 00 44 41 54 41 | 7f 00 00 00 61 63 6f 73 |ine.DATA|....acos|
|000012e0| 0a 23 49 6e 63 6c 75 64 | 65 20 53 74 79 6c 65 0a |.#Includ|e Style.|
|000012f0| 23 50 61 72 65 6e 74 20 | 6d 61 74 68 2f 68 0a 23 |#Parent |math/h.#|
|00001300| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|00001310| 65 78 74 65 72 6e 20 64 | 6f 75 62 6c 65 20 61 63 |extern d|ouble ac|
|00001320| 6f 73 28 64 6f 75 62 6c | 65 20 78 29 3b 0a 23 66 |os(doubl|e x);.#f|
|00001330| 0a 23 77 72 61 70 0a 0a | 52 65 74 75 72 6e 73 20 |.#wrap..|Returns |
|00001340| 74 68 65 20 61 72 63 63 | 6f 73 69 6e 65 20 6f 66 |the arcc|osine of|
|00001350| 20 78 2e 00 44 41 54 41 | b8 01 00 00 44 72 61 77 | x..DATA|....Draw|
|00001360| c9 00 00 00 00 00 00 00 | 44 72 61 77 20 20 20 20 |........|Draw |
|00001370| 20 20 20 20 b0 af 00 00 | 35 c4 03 00 ef 9f 01 00 | ....|5.......|
|00001380| 1c e1 04 00 0b 00 00 00 | 58 00 00 00 00 00 00 00 |........|X.......|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 05 00 00 |........|........|
|000013a0| 00 01 00 00 00 00 f0 3f | 00 00 00 00 02 00 00 00 |.......?|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 01 00 00 00 01 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|000013d0| 01 00 00 00 80 00 00 00 | 88 13 00 00 02 00 00 00 |........|........|
|000013e0| 30 01 00 00 b0 af 00 00 | 35 c4 03 00 ef 9f 01 00 |0.......|5.......|
|000013f0| 1c e1 04 00 00 ff ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 40 00 00 00 02 00 00 00 | 87 b9 00 00 d3 62 04 00 |@.......|.....b..|
|00001410| 06 00 00 00 53 be 00 00 | 0b a0 04 00 87 fb 00 00 |....S...|........|
|00001420| d3 bc 04 00 53 2a 01 00 | 73 d8 04 00 06 00 00 00 |....S*..|s.......|
|00001430| 53 42 01 00 d3 e6 04 00 | bb 7a 01 00 0b e2 04 00 |SB......|.z......|
|00001440| ef 9f 01 00 a3 d3 04 00 | 08 00 00 00 23 89 01 00 |........|....#...|
|00001450| 73 84 04 00 08 00 00 00 | ef 75 01 00 73 84 04 00 |s.......|.u..s...|
|00001460| 08 00 00 00 ef 75 01 00 | a3 a9 04 00 06 00 00 00 |.....u..|........|
|00001470| 23 47 01 00 0b ca 04 00 | 23 17 01 00 0b ca 04 00 |#G......|#.......|
|00001480| 53 00 01 00 a3 7f 04 00 | 06 00 00 00 23 ed 00 00 |S.......|....#...|
|00001490| 73 42 04 00 53 e8 00 00 | 0b f2 03 00 bb 20 01 00 |sB..S...|..... ..|
|000014a0| 0b f2 03 00 06 00 00 00 | 53 42 01 00 3b ed 03 00 |........|SB..;...|
|000014b0| bb 62 01 00 0b 0a 04 00 | 53 84 01 00 3b 17 04 00 |.b......|S...;...|
|000014c0| 08 00 00 00 ef 8d 01 00 | 0b 0a 04 00 06 00 00 00 |........|........|
|000014d0| ef 8d 01 00 3b 05 04 00 | 87 3d 01 00 a3 bf 03 00 |....;...|.=......|
|000014e0| 23 ed 00 00 73 c4 03 00 | 06 00 00 00 23 ab 00 00 |#...s...|....#...|
|000014f0| 3b c9 03 00 53 a6 00 00 | 73 2a 04 00 87 b9 00 00 |;...S...|s*......|
|00001500| d3 62 04 00 05 00 00 00 | 00 00 00 00 44 41 54 41 |.b......|....DATA|
|00001510| a6 03 00 00 63 74 79 70 | 65 2e 68 0a 23 50 61 72 |....ctyp|e.h.#Par|
|00001520| 65 6e 74 20 21 52 6f 6f | 74 0a 23 69 6e 63 6c 75 |ent !Roo|t.#inclu|
|00001530| 64 65 20 53 74 79 6c 65 | 0a 63 74 79 70 65 2e 68 |de Style|.ctype.h|
|00001540| 20 63 6f 6e 74 61 69 6e | 73 20 73 65 76 65 72 61 | contain|s severa|
|00001550| 6c 20 73 6d 61 6c 6c 20 | 72 6f 75 74 69 6e 65 73 |l small |routines|
|00001560| 20 61 6e 64 20 6d 61 63 | 72 6f 73 20 74 68 61 74 | and mac|ros that|
|00001570| 20 67 69 76 65 20 69 6e | 66 6f 72 6d 61 74 69 6f | give in|formatio|
|00001580| 6e 20 61 62 6f 75 74 20 | 63 68 61 72 61 63 74 65 |n about |characte|
|00001590| 72 20 76 61 6c 75 65 73 | 2c 20 61 6e 64 20 74 77 |r values|, and tw|
|000015a0| 6f 20 63 6f 6e 76 65 72 | 73 69 6f 6e 20 72 6f 75 |o conver|sion rou|
|000015b0| 74 69 6e 65 73 2e 20 41 | 6c 6c 20 74 68 65 20 72 |tines. A|ll the r|
|000015c0| 6f 75 74 69 6e 65 73 20 | 61 72 65 20 6f 66 20 74 |outines |are of t|
|000015d0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 70 72 6f |he follo|wing pro|
|000015e0| 74 6f 74 79 70 65 3a 0a | 0a 23 66 63 6f 64 65 0a |totype:.|.#fcode.|
|000015f0| 69 6e 74 20 66 6f 6f 20 | 28 20 69 6e 74 20 63 68 |int foo |( int ch|
|00001600| 61 72 20 29 3b 0a 23 66 | 0a 0a 54 68 65 20 72 6f |ar );.#f|..The ro|
|00001610| 75 74 69 6e 65 73 20 2a | 74 6f 6c 6f 77 65 72 2a |utines *|tolower*|
|00001620| 20 61 6e 64 20 2a 74 6f | 75 70 70 65 72 2a 20 63 | and *to|upper* c|
|00001630| 6f 6e 76 65 72 74 20 74 | 68 65 20 63 61 73 65 20 |onvert t|he case |
|00001640| 6f 66 20 27 63 68 61 72 | 27 2e 0a 0a 49 66 20 74 |of 'char|'...If t|
|00001650| 68 65 20 72 6f 75 74 69 | 6e 65 73 20 62 65 6c 6f |he routi|nes belo|
|00001660| 77 20 72 65 74 75 72 6e | 20 61 20 6e 6f 6e 2d 7a |w return| a non-z|
|00001670| 65 72 6f 20 76 61 6c 75 | 65 2c 20 74 68 65 6e 20 |ero valu|e, then |
|00001680| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 27 63 68 |the valu|e of 'ch|
|00001690| 61 72 27 20 69 73 20 69 | 6e 20 74 68 65 20 72 61 |ar' is i|n the ra|
|000016a0| 6e 67 65 20 6c 69 73 74 | 65 64 20 74 6f 20 74 68 |nge list|ed to th|
|000016b0| 65 20 72 69 67 68 74 3a | 0a 23 6c 69 6e 65 0a 2a |e right:|.#line.*|
|000016c0| 69 73 61 6c 6e 75 6d 2a | 09 63 68 61 72 20 69 73 |isalnum*|.char is|
|000016d0| 20 69 6e 20 2a 69 73 61 | 6c 70 68 61 2a 20 6f 72 | in *isa|lpha* or|
|000016e0| 20 2a 69 73 64 69 67 69 | 74 2a 0a 2a 69 73 61 6c | *isdigi|t*.*isal|
|000016f0| 70 68 61 2a 09 63 68 61 | 72 20 69 73 20 61 6c 70 |pha*.cha|r is alp|
|00001700| 68 61 62 65 74 69 63 0a | 2a 69 73 63 6e 74 72 6c |habetic.|*iscntrl|
|00001710| 2a 09 63 68 61 72 20 69 | 73 20 61 20 63 6f 6e 74 |*.char i|s a cont|
|00001720| 72 6f 6c 20 63 68 61 72 | 61 63 74 65 72 0a 2a 69 |rol char|acter.*i|
|00001730| 73 64 69 67 69 74 2a 09 | 63 68 61 72 20 69 73 20 |sdigit*.|char is |
|00001740| 61 20 64 65 63 69 6d 61 | 6c 20 64 69 67 69 74 20 |a decima|l digit |
|00001750| 28 69 2e 65 2e 20 30 2d | 39 29 0a 2a 69 73 67 72 |(i.e. 0-|9).*isgr|
|00001760| 61 70 68 2a 09 63 68 61 | 72 20 69 73 20 70 72 69 |aph*.cha|r is pri|
|00001770| 6e 74 61 62 6c 65 2c 20 | 62 75 74 20 6e 6f 74 20 |ntable, |but not |
|00001780| 53 70 61 63 65 0a 2a 69 | 73 6c 6f 77 65 72 2a 09 |Space.*i|slower*.|
|00001790| 63 68 61 72 20 69 73 20 | 69 6e 20 6c 6f 77 65 72 |char is |in lower|
|000017a0| 63 61 73 65 0a 2a 69 73 | 70 72 69 6e 74 2a 09 63 |case.*is|print*.c|
|000017b0| 68 61 72 20 69 73 20 6e | 6f 74 20 69 6e 20 2a 69 |har is n|ot in *i|
|000017c0| 73 63 6e 74 72 6c 2a 0a | 2a 69 73 70 75 6e 63 74 |scntrl*.|*ispunct|
|000017d0| 2a 09 63 68 61 72 20 69 | 73 20 69 6e 20 2a 69 73 |*.char i|s in *is|
|000017e0| 67 72 61 70 68 2a 20 61 | 6e 64 20 6e 6f 74 20 69 |graph* a|nd not i|
|000017f0| 6e 20 2a 61 6c 6e 75 6d | 2a 0a 2a 69 73 73 70 61 |n *alnum|*.*isspa|
|00001800| 63 65 2a 09 63 68 61 72 | 20 69 73 20 61 20 77 68 |ce*.char| is a wh|
|00001810| 69 74 65 73 70 61 63 65 | 20 63 68 61 72 61 63 74 |itespace| charact|
|00001820| 65 72 20 28 53 70 61 63 | 65 2c 20 66 6f 72 6d 2d |er (Spac|e, form-|
|00001830| 66 65 65 64 2c 20 6e 65 | 77 6c 69 6e 65 2c 20 63 |feed, ne|wline, c|
|00001840| 61 72 72 69 61 67 65 20 | 72 65 74 75 72 6e 2c 20 |arriage |return, |
|00001850| 74 61 62 2c 20 76 65 72 | 74 69 63 61 6c 20 74 61 |tab, ver|tical ta|
|00001860| 62 29 0a 2a 69 73 75 70 | 70 65 72 2a 09 63 68 61 |b).*isup|per*.cha|
|00001870| 72 20 69 73 20 69 6e 20 | 75 70 70 65 72 63 61 73 |r is in |uppercas|
|00001880| 65 0a 2a 69 73 78 64 69 | 67 69 74 2a 09 63 68 61 |e.*isxdi|git*.cha|
|00001890| 72 20 69 73 20 61 20 68 | 65 78 20 64 69 67 69 74 |r is a h|ex digit|
|000018a0| 20 28 69 2e 65 2e 20 30 | 2d 46 29 0a 23 6c 69 6e | (i.e. 0|-F).#lin|
|000018b0| 65 0a 00 00 44 41 54 41 | 28 00 00 00 23 42 61 63 |e...DATA|(...#Bac|
|000018c0| 6b 67 72 6f 75 6e 64 20 | 57 69 6d 70 20 31 0a 23 |kground |Wimp 1.#|
|000018d0| 57 72 61 70 20 4e 6f 6a | 6f 69 6e 0a 44 41 54 41 |Wrap Noj|oin.DATA|
|000018e0| d4 00 00 00 61 62 6f 72 | 74 0a 23 49 6e 63 6c 75 |....abor|t.#Inclu|
|000018f0| 64 65 20 53 74 79 6c 65 | 0a 23 50 61 72 65 6e 74 |de Style|.#Parent|
|00001900| 20 73 74 64 6c 69 62 2f | 68 0a 23 77 72 61 70 20 | stdlib/|h.#wrap |
|00001910| 6f 66 66 0a 23 66 63 6f | 64 65 0a 76 6f 69 64 20 |off.#fco|de.void |
|00001920| 61 62 6f 72 74 20 28 20 | 76 6f 69 64 20 29 3b 0a |abort ( |void );.|
|00001930| 23 66 0a 23 77 72 61 70 | 0a 0a 54 65 72 6d 69 6e |#f.#wrap|..Termin|
|00001940| 61 74 65 73 20 74 68 65 | 20 70 72 6f 67 72 61 6d |ates the| program|
|00001950| 20 62 79 20 3c 72 61 69 | 73 69 6e 67 3d 3e 72 61 | by <rai|sing=>ra|
|00001960| 69 73 65 3e 20 74 68 65 | 20 53 49 47 41 42 52 54 |ise> the| SIGABRT|
|00001970| 20 73 69 67 6e 61 6c 2c | 20 72 65 74 75 72 6e 69 | signal,| returni|
|00001980| 6e 67 20 61 6e 20 65 72 | 72 6f 72 20 72 65 74 75 |ng an er|ror retu|
|00001990| 72 6e 20 63 6f 64 65 20 | 74 6f 20 74 68 65 20 6f |rn code |to the o|
|000019a0| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 2e |perating| system.|
|000019b0| 44 41 54 41 7d 00 00 00 | 61 73 69 6e 0a 23 49 6e |DATA}...|asin.#In|
|000019c0| 63 6c 75 64 65 20 53 74 | 79 6c 65 0a 23 50 61 72 |clude St|yle.#Par|
|000019d0| 65 6e 74 20 6d 61 74 68 | 2f 68 0a 23 77 72 61 70 |ent math|/h.#wrap|
|000019e0| 20 6f 66 66 0a 23 66 63 | 6f 64 65 0a 65 78 74 65 | off.#fc|ode.exte|
|000019f0| 72 6e 20 64 6f 75 62 6c | 65 20 61 73 69 6e 28 64 |rn doubl|e asin(d|
|00001a00| 6f 75 62 6c 65 20 78 29 | 3b 0a 23 66 0a 23 77 72 |ouble x)|;.#f.#wr|
|00001a10| 61 70 0a 0a 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ap..Retu|rns the |
|00001a20| 61 72 63 73 69 6e 65 20 | 6f 66 20 78 2e 00 00 00 |arcsine |of x....|
|00001a30| 44 41 54 41 9d 00 00 00 | 61 74 61 6e 0a 23 49 6e |DATA....|atan.#In|
|00001a40| 63 6c 75 64 65 20 53 74 | 79 6c 65 0a 23 50 61 72 |clude St|yle.#Par|
|00001a50| 65 6e 74 20 6d 61 74 68 | 2f 68 0a 23 77 72 61 70 |ent math|/h.#wrap|
|00001a60| 20 6f 66 66 0a 23 66 63 | 6f 64 65 0a 65 78 74 65 | off.#fc|ode.exte|
|00001a70| 72 6e 20 64 6f 75 62 6c | 65 20 61 74 61 6e 28 64 |rn doubl|e atan(d|
|00001a80| 6f 75 62 6c 65 20 78 29 | 3b 0a 23 66 0a 23 77 72 |ouble x)|;.#f.#wr|
|00001a90| 61 70 0a 0a 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ap..Retu|rns the |
|00001aa0| 61 72 63 20 74 61 6e 67 | 65 6e 74 20 6f 66 20 78 |arc tang|ent of x|
|00001ab0| 2c 20 69 6e 20 74 68 65 | 20 72 61 6e 67 65 20 2d |, in the| range -|
|00001ac0| 70 69 2f 32 20 74 6f 20 | 70 69 2f 32 2e 00 00 00 |pi/2 to |pi/2....|
|00001ad0| 44 41 54 41 d3 00 00 00 | 61 74 61 6e 32 0a 23 49 |DATA....|atan2.#I|
|00001ae0| 6e 63 6c 75 64 65 20 53 | 74 79 6c 65 0a 23 50 61 |nclude S|tyle.#Pa|
|00001af0| 72 65 6e 74 20 6d 61 74 | 68 2f 68 0a 23 77 72 61 |rent mat|h/h.#wra|
|00001b00| 70 20 6f 66 66 0a 23 66 | 63 6f 64 65 0a 65 78 74 |p off.#f|code.ext|
|00001b10| 65 72 6e 20 64 6f 75 62 | 6c 65 20 61 74 61 6e 32 |ern doub|le atan2|
|00001b20| 28 64 6f 75 62 6c 65 20 | 78 2c 20 64 6f 75 62 6c |(double |x, doubl|
|00001b30| 65 20 79 29 3b 0a 23 66 | 0a 23 77 72 61 70 0a 0a |e y);.#f|.#wrap..|
|00001b40| 52 65 74 75 72 6e 73 20 | 74 68 65 20 61 72 63 20 |Returns |the arc |
|00001b50| 74 61 6e 67 65 6e 74 20 | 6f 66 20 79 2f 78 2c 20 |tangent |of y/x, |
|00001b60| 69 6e 20 74 68 65 20 72 | 61 6e 67 65 20 2d 70 69 |in the r|ange -pi|
|00001b70| 20 74 6f 20 70 69 2e 20 | 54 68 65 20 76 61 6c 75 | to pi. |The valu|
|00001b80| 65 73 20 6f 66 20 79 20 | 61 6e 64 20 78 20 63 61 |es of y |and x ca|
|00001b90| 6e 20 6e 6f 74 20 62 6f | 74 68 20 62 65 20 7a 65 |n not bo|th be ze|
|00001ba0| 72 6f 2e 00 44 41 54 41 | 7a 00 00 00 63 6f 73 0a |ro..DATA|z...cos.|
|00001bb0| 23 49 6e 63 6c 75 64 65 | 20 53 74 79 6c 65 0a 23 |#Include| Style.#|
|00001bc0| 50 61 72 65 6e 74 20 6d | 61 74 68 2f 68 0a 23 77 |Parent m|ath/h.#w|
|00001bd0| 72 61 70 20 6f 66 66 0a | 23 66 63 6f 64 65 0a 65 |rap off.|#fcode.e|
|00001be0| 78 74 65 72 6e 20 64 6f | 75 62 6c 65 20 63 6f 73 |xtern do|uble cos|
|00001bf0| 28 64 6f 75 62 6c 65 20 | 78 29 3b 0a 23 66 0a 23 |(double |x);.#f.#|
|00001c00| 77 72 61 70 0a 0a 52 65 | 74 75 72 6e 73 20 74 68 |wrap..Re|turns th|
|00001c10| 65 20 63 6f 73 69 6e 65 | 20 6f 66 20 78 2e 00 00 |e cosine| of x...|
|00001c20| 44 41 54 41 87 00 00 00 | 63 6f 73 68 0a 23 49 6e |DATA....|cosh.#In|
|00001c30| 63 6c 75 64 65 20 53 74 | 79 6c 65 0a 23 50 61 72 |clude St|yle.#Par|
|00001c40| 65 6e 74 20 6d 61 74 68 | 2f 68 0a 23 77 72 61 70 |ent math|/h.#wrap|
|00001c50| 20 6f 66 66 0a 23 66 63 | 6f 64 65 0a 65 78 74 65 | off.#fc|ode.exte|
|00001c60| 72 6e 20 64 6f 75 62 6c | 65 20 63 6f 73 68 28 64 |rn doubl|e cosh(d|
|00001c70| 6f 75 62 6c 65 20 78 29 | 3b 0a 23 66 0a 23 77 72 |ouble x)|;.#f.#wr|
|00001c80| 61 70 0a 0a 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ap..Retu|rns the |
|00001c90| 68 79 70 65 72 62 6f 6c | 69 63 20 63 6f 73 69 6e |hyperbol|ic cosin|
|00001ca0| 65 20 6f 66 20 78 2e 00 | 44 41 54 41 89 00 00 00 |e of x..|DATA....|
|00001cb0| 65 78 70 0a 23 49 6e 63 | 6c 75 64 65 20 53 74 79 |exp.#Inc|lude Sty|
|00001cc0| 6c 65 0a 23 50 61 72 65 | 6e 74 20 6d 61 74 68 2f |le.#Pare|nt math/|
|00001cd0| 68 0a 23 77 72 61 70 20 | 6f 66 66 0a 23 66 63 6f |h.#wrap |off.#fco|
|00001ce0| 64 65 0a 65 78 74 65 72 | 6e 20 64 6f 75 62 6c 65 |de.exter|n double|
|00001cf0| 20 65 78 70 28 64 6f 75 | 62 6c 65 20 78 29 3b 0a | exp(dou|ble x);.|
|00001d00| 23 66 0a 23 77 72 61 70 | 0a 0a 52 65 74 75 72 6e |#f.#wrap|..Return|
|00001d10| 73 20 74 68 65 20 65 20 | 72 61 69 73 65 64 20 74 |s the e |raised t|
|00001d20| 6f 20 74 68 65 20 70 6f | 77 65 72 20 6f 66 20 78 |o the po|wer of x|
|00001d30| 2e 00 00 00 44 41 54 41 | 96 00 00 00 66 61 62 73 |....DATA|....fabs|
|00001d40| 0a 23 49 6e 63 6c 75 64 | 65 20 53 74 79 6c 65 0a |.#Includ|e Style.|
|00001d50| 23 50 61 72 65 6e 74 20 | 6d 61 74 68 2f 68 0a 23 |#Parent |math/h.#|
|00001d60| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|00001d70| 65 78 74 65 72 6e 20 64 | 6f 75 62 6c 65 20 66 61 |extern d|ouble fa|
|00001d80| 62 73 28 64 6f 75 62 6c | 65 20 78 29 3b 0a 23 66 |bs(doubl|e x);.#f|
|00001d90| 0a 23 77 72 61 70 0a 0a | 52 65 74 75 72 6e 73 20 |.#wrap..|Returns |
|00001da0| 74 68 65 20 61 62 73 6f | 6c 75 74 65 20 76 61 6c |the abso|lute val|
|00001db0| 75 65 20 6f 66 20 78 2e | 0a 0a 2f 53 65 65 20 61 |ue of x.|../See a|
|00001dc0| 6c 73 6f 2f 0a 3c 61 62 | 73 3e 00 00 44 41 54 41 |lso/.<ab|s>..DATA|
|00001dd0| 84 00 00 00 66 6c 6f 6f | 72 0a 23 49 6e 63 6c 75 |....floo|r.#Inclu|
|00001de0| 64 65 20 53 74 79 6c 65 | 0a 23 50 61 72 65 6e 74 |de Style|.#Parent|
|00001df0| 20 6d 61 74 68 2f 68 0a | 23 77 72 61 70 20 6f 66 | math/h.|#wrap of|
|00001e00| 66 0a 23 66 63 6f 64 65 | 0a 65 78 74 65 72 6e 20 |f.#fcode|.extern |
|00001e10| 64 6f 75 62 6c 65 20 66 | 6c 6f 6f 72 28 64 6f 75 |double f|loor(dou|
|00001e20| 62 6c 65 20 78 29 3b 0a | 23 66 0a 23 77 72 61 70 |ble x);.|#f.#wrap|
|00001e30| 0a 0a 52 65 74 75 72 6e | 73 20 74 68 65 20 69 6e |..Return|s the in|
|00001e40| 74 65 67 65 72 20 70 61 | 72 74 20 6f 66 20 78 2e |teger pa|rt of x.|
|00001e50| 44 41 54 41 8b 00 00 00 | 66 6d 6f 64 0a 23 49 6e |DATA....|fmod.#In|
|00001e60| 63 6c 75 64 65 20 53 74 | 79 6c 65 0a 23 50 61 72 |clude St|yle.#Par|
|00001e70| 65 6e 74 20 6d 61 74 68 | 2f 68 0a 23 77 72 61 70 |ent math|/h.#wrap|
|00001e80| 20 6f 66 66 0a 23 66 63 | 6f 64 65 0a 65 78 74 65 | off.#fc|ode.exte|
|00001e90| 72 6e 20 64 6f 75 62 6c | 65 20 66 6d 6f 64 28 64 |rn doubl|e fmod(d|
|00001ea0| 6f 75 62 6c 65 20 78 2c | 20 64 6f 75 62 6c 65 20 |ouble x,| double |
|00001eb0| 79 29 3b 0a 23 66 0a 23 | 77 72 61 70 0a 0a 52 65 |y);.#f.#|wrap..Re|
|00001ec0| 74 75 72 6e 73 20 74 68 | 65 20 72 65 6d 61 69 6e |turns th|e remain|
|00001ed0| 64 65 72 20 6f 66 20 78 | 2f 79 2e 00 44 41 54 41 |der of x|/y..DATA|
|00001ee0| d0 00 00 00 66 72 65 78 | 70 0a 23 49 6e 63 6c 75 |....frex|p.#Inclu|
|00001ef0| 64 65 20 53 74 79 6c 65 | 0a 23 50 61 72 65 6e 74 |de Style|.#Parent|
|00001f00| 20 6d 61 74 68 2f 68 0a | 23 77 72 61 70 20 6f 66 | math/h.|#wrap of|
|00001f10| 66 0a 23 66 63 6f 64 65 | 0a 65 78 74 65 72 6e 20 |f.#fcode|.extern |
|00001f20| 64 6f 75 62 6c 65 20 66 | 72 65 78 70 28 64 6f 75 |double f|rexp(dou|
|00001f30| 62 6c 65 20 78 2c 20 69 | 6e 74 20 2a 20 65 29 3b |ble x, i|nt * e);|
|00001f40| 0a 23 66 0a 23 77 72 61 | 70 0a 0a 52 65 74 75 72 |.#f.#wra|p..Retur|
|00001f50| 6e 73 20 74 68 65 20 6d | 61 6e 74 69 73 73 61 20 |ns the m|antissa |
|00001f60| 61 6e 64 20 65 78 70 6f | 6e 65 6e 74 20 28 62 61 |and expo|nent (ba|
|00001f70| 73 65 20 32 29 20 6f 66 | 20 78 2e 20 54 68 65 20 |se 2) of| x. The |
|00001f80| 65 78 70 6f 6e 65 6e 74 | 20 69 73 20 73 74 6f 72 |exponent| is stor|
|00001f90| 65 64 20 69 6e 20 65 2e | 0a 0a 2f 53 65 65 20 61 |ed in e.|../See a|
|00001fa0| 6c 73 6f 2f 0a 3c 6c 64 | 65 78 70 3e 44 41 54 41 |lso/.<ld|exp>DATA|
|00001fb0| 9d 00 00 00 6c 64 65 78 | 70 0a 23 49 6e 63 6c 75 |....ldex|p.#Inclu|
|00001fc0| 64 65 20 53 74 79 6c 65 | 0a 23 50 61 72 65 6e 74 |de Style|.#Parent|
|00001fd0| 20 6d 61 74 68 2f 68 0a | 23 77 72 61 70 20 6f 66 | math/h.|#wrap of|
|00001fe0| 66 0a 23 66 63 6f 64 65 | 0a 65 78 74 65 72 6e 20 |f.#fcode|.extern |
|00001ff0| 64 6f 75 62 6c 65 20 6c | 64 65 78 70 28 64 6f 75 |double l|dexp(dou|
|00002000| 62 6c 65 20 78 2c 20 69 | 6e 74 20 65 29 3b 0a 23 |ble x, i|nt e);.#|
|00002010| 66 0a 23 77 72 61 70 0a | 0a 52 65 74 75 72 6e 73 |f.#wrap.|.Returns|
|00002020| 20 78 20 6d 75 6c 74 69 | 70 6c 69 65 64 20 62 79 | x multi|plied by|
|00002030| 20 32 5e 65 2e 0a 0a 2f | 53 65 65 20 61 6c 73 6f | 2^e.../|See also|
|00002040| 2f 0a 3c 66 72 65 78 70 | 3e 00 00 00 44 41 54 41 |/.<frexp|>...DATA|
|00002050| 87 00 00 00 6c 6f 67 0a | 23 49 6e 63 6c 75 64 65 |....log.|#Include|
|00002060| 20 53 74 79 6c 65 0a 23 | 50 61 72 65 6e 74 20 6d | Style.#|Parent m|
|00002070| 61 74 68 2f 68 0a 23 77 | 72 61 70 20 6f 66 66 0a |ath/h.#w|rap off.|
|00002080| 23 66 63 6f 64 65 0a 65 | 78 74 65 72 6e 20 64 6f |#fcode.e|xtern do|
|00002090| 75 62 6c 65 20 6c 6f 67 | 28 64 6f 75 62 6c 65 20 |uble log|(double |
|000020a0| 78 29 3b 0a 23 66 0a 23 | 77 72 61 70 0a 0a 52 65 |x);.#f.#|wrap..Re|
|000020b0| 74 75 72 6e 73 20 74 68 | 65 20 6c 6f 67 61 72 69 |turns th|e logari|
|000020c0| 74 68 6d 20 74 6f 20 62 | 61 73 65 20 65 20 6f 66 |thm to b|ase e of|
|000020d0| 20 78 2e 00 44 41 54 41 | 8d 00 00 00 6c 6f 67 31 | x..DATA|....log1|
|000020e0| 30 0a 23 49 6e 63 6c 75 | 64 65 20 53 74 79 6c 65 |0.#Inclu|de Style|
|000020f0| 0a 23 50 61 72 65 6e 74 | 20 6d 61 74 68 2f 68 0a |.#Parent| math/h.|
|00002100| 23 77 72 61 70 20 6f 66 | 66 0a 23 66 63 6f 64 65 |#wrap of|f.#fcode|
|00002110| 0a 65 78 74 65 72 6e 20 | 64 6f 75 62 6c 65 20 6c |.extern |double l|
|00002120| 6f 67 31 30 28 64 6f 75 | 62 6c 65 20 78 29 3b 0a |og10(dou|ble x);.|
|00002130| 23 66 0a 23 77 72 61 70 | 0a 0a 52 65 74 75 72 6e |#f.#wrap|..Return|
|00002140| 73 20 74 68 65 20 6c 6f | 67 61 72 69 74 68 6d 20 |s the lo|garithm |
|00002150| 74 6f 20 62 61 73 65 20 | 74 65 6e 20 6f 66 20 78 |to base |ten of x|
|00002160| 2e 00 00 00 44 41 54 41 | 39 01 00 00 6d 6f 64 66 |....DATA|9...modf|
|00002170| 0a 23 49 6e 63 6c 75 64 | 65 20 53 74 79 6c 65 0a |.#Includ|e Style.|
|00002180| 23 50 61 72 65 6e 74 20 | 6d 61 74 68 2f 68 0a 23 |#Parent |math/h.#|
|00002190| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|000021a0| 65 78 74 65 72 6e 20 64 | 6f 75 62 6c 65 20 6d 6f |extern d|ouble mo|
|000021b0| 64 66 28 64 6f 75 62 6c | 65 20 78 2c 20 64 6f 75 |df(doubl|e x, dou|
|000021c0| 62 6c 65 20 2a 20 69 29 | 3b 0a 23 66 0a 23 77 72 |ble * i)|;.#f.#wr|
|000021d0| 61 70 0a 0a 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ap..Retu|rns the |
|000021e0| 66 72 61 63 74 69 6f 6e | 61 6c 20 70 61 72 74 20 |fraction|al part |
|000021f0| 6f 66 20 78 2c 20 61 6e | 64 20 73 74 6f 72 65 73 |of x, an|d stores|
|00002200| 20 74 68 65 20 69 6e 74 | 65 67 65 72 20 70 61 72 | the int|eger par|
|00002210| 74 20 69 6e 20 69 2e 0a | 0a 23 49 6e 63 6c 75 64 |t in i..|.#Includ|
|00002220| 65 20 58 53 74 79 6c 65 | 0a 64 6f 75 62 6c 65 20 |e XStyle|.double |
|00002230| 78 20 3d 20 32 2e 35 2c | 20 79 3b 0a 78 20 3d 20 |x = 2.5,| y;.x = |
|00002240| 6d 6f 64 66 28 20 78 2c | 20 26 79 20 29 3b 0a 70 |modf( x,| &y );.p|
|00002250| 72 69 6e 74 66 20 28 20 | 22 78 20 3d 20 25 6c 66 |rintf ( |"x = %lf|
|00002260| 2c 20 79 20 3d 20 25 6c | 66 5c 5c 6e 22 20 29 3b |, y = %l|f\\n" );|
|00002270| 0a 23 49 6e 63 6c 75 64 | 65 20 58 53 74 79 6c 65 |.#Includ|e XStyle|
|00002280| 4f 66 66 0a 70 72 69 6e | 74 73 20 22 78 20 3d 20 |Off.prin|ts "x = |
|00002290| 32 2c 20 79 20 3d 20 30 | 2e 35 22 2e 0a 00 00 00 |2, y = 0|.5".....|
|000022a0| 44 41 54 41 b5 00 00 00 | 70 6f 77 0a 23 49 6e 63 |DATA....|pow.#Inc|
|000022b0| 6c 75 64 65 20 53 74 79 | 6c 65 0a 23 50 61 72 65 |lude Sty|le.#Pare|
|000022c0| 6e 74 20 6d 61 74 68 2f | 68 0a 23 77 72 61 70 20 |nt math/|h.#wrap |
|000022d0| 6f 66 66 0a 23 66 63 6f | 64 65 0a 65 78 74 65 72 |off.#fco|de.exter|
|000022e0| 6e 20 64 6f 75 62 6c 65 | 20 70 6f 77 28 64 6f 75 |n double| pow(dou|
|000022f0| 62 6c 65 20 78 2c 20 64 | 6f 75 62 6c 65 20 79 29 |ble x, d|ouble y)|
|00002300| 3b 0a 23 66 0a 23 77 72 | 61 70 0a 0a 52 65 74 75 |;.#f.#wr|ap..Retu|
|00002310| 72 6e 73 20 78 5e 79 2c | 20 69 2e 65 2e 20 61 20 |rns x^y,| i.e. a |
|00002320| 72 65 61 6c 6c 79 20 69 | 6e 65 66 66 69 63 69 65 |really i|nefficie|
|00002330| 6e 74 20 77 61 79 20 6f | 66 20 63 6f 6d 70 75 74 |nt way o|f comput|
|00002340| 69 6e 67 20 78 2a 78 20 | 69 73 20 70 6f 77 28 78 |ing x*x |is pow(x|
|00002350| 2c 20 32 29 2e 00 00 00 | 44 41 54 41 78 00 00 00 |, 2)....|DATAx...|
|00002360| 73 69 6e 0a 23 49 6e 63 | 6c 75 64 65 20 53 74 79 |sin.#Inc|lude Sty|
|00002370| 6c 65 0a 23 50 61 72 65 | 6e 74 20 6d 61 74 68 2f |le.#Pare|nt math/|
|00002380| 68 0a 23 77 72 61 70 20 | 6f 66 66 0a 23 66 63 6f |h.#wrap |off.#fco|
|00002390| 64 65 0a 65 78 74 65 72 | 6e 20 64 6f 75 62 6c 65 |de.exter|n double|
|000023a0| 20 73 69 6e 28 64 6f 75 | 62 6c 65 20 78 29 3b 0a | sin(dou|ble x);.|
|000023b0| 23 66 0a 23 77 72 61 70 | 0a 0a 52 65 74 75 72 6e |#f.#wrap|..Return|
|000023c0| 73 20 74 68 65 20 73 69 | 6e 65 20 6f 66 20 78 2e |s the si|ne of x.|
|000023d0| 44 41 54 41 84 00 00 00 | 73 69 6e 68 0a 23 49 6e |DATA....|sinh.#In|
|000023e0| 63 6c 75 64 65 20 53 74 | 79 6c 65 0a 23 50 61 72 |clude St|yle.#Par|
|000023f0| 65 6e 74 20 6d 61 74 68 | 2f 68 0a 23 77 72 61 70 |ent math|/h.#wrap|
|00002400| 20 6f 66 66 0a 23 66 63 | 6f 64 65 0a 65 78 74 65 | off.#fc|ode.exte|
|00002410| 72 6e 20 64 6f 75 62 6c | 65 20 73 69 6e 68 28 64 |rn doubl|e sinh(d|
|00002420| 6f 75 62 6c 65 20 78 29 | 0a 23 66 0a 23 77 72 61 |ouble x)|.#f.#wra|
|00002430| 70 0a 0a 52 65 74 75 72 | 6e 73 20 74 68 65 20 68 |p..Retur|ns the h|
|00002440| 79 70 65 72 62 6f 6c 69 | 63 20 73 69 6e 65 20 6f |yperboli|c sine o|
|00002450| 66 20 78 2e 44 41 54 41 | 81 00 00 00 73 71 72 74 |f x.DATA|....sqrt|
|00002460| 0a 23 49 6e 63 6c 75 64 | 65 20 53 74 79 6c 65 0a |.#Includ|e Style.|
|00002470| 23 50 61 72 65 6e 74 20 | 6d 61 74 68 2f 68 0a 23 |#Parent |math/h.#|
|00002480| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|00002490| 65 78 74 65 72 6e 20 64 | 6f 75 62 6c 65 20 73 71 |extern d|ouble sq|
|000024a0| 72 74 28 64 6f 75 62 6c | 65 20 78 29 3b 0a 23 66 |rt(doubl|e x);.#f|
|000024b0| 0a 23 77 72 61 70 0a 0a | 52 65 74 75 72 6e 73 20 |.#wrap..|Returns |
|000024c0| 74 68 65 20 73 71 75 61 | 72 65 20 72 6f 6f 74 20 |the squa|re root |
|000024d0| 6f 66 20 78 2e 00 00 00 | 44 41 54 41 7b 00 00 00 |of x....|DATA{...|
|000024e0| 74 61 6e 0a 23 49 6e 63 | 6c 75 64 65 20 53 74 79 |tan.#Inc|lude Sty|
|000024f0| 6c 65 0a 23 50 61 72 65 | 6e 74 20 6d 61 74 68 2f |le.#Pare|nt math/|
|00002500| 68 0a 23 77 72 61 70 20 | 6f 66 66 0a 23 66 63 6f |h.#wrap |off.#fco|
|00002510| 64 65 0a 65 78 74 65 72 | 6e 20 64 6f 75 62 6c 65 |de.exter|n double|
|00002520| 20 74 61 6e 28 64 6f 75 | 62 6c 65 20 78 29 3b 0a | tan(dou|ble x);.|
|00002530| 23 66 0a 23 77 72 61 70 | 0a 0a 52 65 74 75 72 6e |#f.#wrap|..Return|
|00002540| 73 20 74 68 65 20 74 61 | 6e 67 65 6e 74 20 6f 66 |s the ta|ngent of|
|00002550| 20 78 2e 00 44 41 54 41 | 88 00 00 00 74 61 6e 68 | x..DATA|....tanh|
|00002560| 0a 23 49 6e 63 6c 75 64 | 65 20 53 74 79 6c 65 0a |.#Includ|e Style.|
|00002570| 23 50 61 72 65 6e 74 20 | 6d 61 74 68 2f 68 0a 23 |#Parent |math/h.#|
|00002580| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|00002590| 65 78 74 65 72 6e 20 64 | 6f 75 62 6c 65 20 74 61 |extern d|ouble ta|
|000025a0| 6e 68 28 64 6f 75 62 6c | 65 20 78 29 3b 0a 23 66 |nh(doubl|e x);.#f|
|000025b0| 0a 23 77 72 61 70 0a 0a | 52 65 74 75 72 6e 73 20 |.#wrap..|Returns |
|000025c0| 74 68 65 20 68 79 70 65 | 72 62 6f 6c 69 63 20 74 |the hype|rbolic t|
|000025d0| 61 6e 67 65 6e 74 20 6f | 66 20 78 2e 44 41 54 41 |angent o|f x.DATA|
|000025e0| 23 00 00 00 2f 45 78 61 | 6d 70 6c 65 2f 0a 23 66 |#.../Exa|mple/.#f|
|000025f0| 63 6f 64 65 0a 23 69 6e | 64 65 6e 74 20 34 0a 00 |code.#in|dent 4..|
|00002600| 44 41 54 41 14 00 00 00 | 23 66 0a 23 69 6e 64 65 |DATA....|#f.#inde|
|00002610| 6e 74 0a 0a 44 41 54 41 | 4d 03 00 00 73 74 64 69 |nt..DATA|M...stdi|
|00002620| 6f 2e 68 0a 23 49 6e 63 | 6c 75 64 65 20 53 74 79 |o.h.#Inc|lude Sty|
|00002630| 6c 65 0a 53 74 64 69 6f | 2e 68 20 64 65 63 6c 61 |le.Stdio|.h decla|
|00002640| 72 65 73 20 66 75 6e 63 | 74 69 6f 6e 73 2c 20 63 |res func|tions, c|
|00002650| 6f 6e 73 74 61 6e 74 73 | 20 61 6e 64 20 74 79 70 |onstants| and typ|
|00002660| 65 73 20 64 65 61 6c 69 | 6e 67 20 77 69 74 68 20 |es deali|ng with |
|00002670| 69 6e 70 75 74 20 61 6e | 64 20 6f 75 74 70 75 74 |input an|d output|
|00002680| 2e 0a 23 6c 69 6e 65 0a | 46 75 6e 63 74 69 6f 6e |..#line.|Function|
|00002690| 73 3a 0a 23 54 61 62 6c | 65 20 63 6f 6c 75 6d 6e |s:.#Tabl|e column|
|000026a0| 73 20 31 30 0a 63 6c 65 | 61 72 65 72 72 0a 3c 66 |s 10.cle|arerr.<f|
|000026b0| 63 6c 6f 73 65 3e 0a 3c | 66 65 6f 66 3e 0a 66 65 |close>.<|feof>.fe|
|000026c0| 72 72 6f 72 0a 3c 66 66 | 6c 75 73 68 3e 0a 3c 66 |rror.<ff|lush>.<f|
|000026d0| 67 65 74 63 3e 0a 3c 66 | 67 65 74 70 6f 73 3e 0a |getc>.<f|getpos>.|
|000026e0| 3c 66 67 65 74 73 3e 0a | 3c 66 6f 70 65 6e 3e 0a |<fgets>.|<fopen>.|
|000026f0| 3c 66 70 72 69 6e 74 66 | 3e 0a 3c 66 70 75 74 63 |<fprintf|>.<fputc|
|00002700| 3e 0a 3c 66 70 75 74 73 | 3e 0a 3c 66 72 65 61 64 |>.<fputs|>.<fread|
|00002710| 3e 0a 3c 66 72 65 6f 70 | 65 6e 3e 0a 3c 66 73 63 |>.<freop|en>.<fsc|
|00002720| 61 6e 66 3e 0a 3c 66 73 | 65 65 6b 3e 0a 3c 66 73 |anf>.<fs|eek>.<fs|
|00002730| 65 74 70 6f 73 3e 0a 3c | 66 74 65 6c 6c 3e 0a 3c |etpos>.<|ftell>.<|
|00002740| 66 77 72 69 74 65 3e 0a | 3c 67 65 74 63 3e 0a 3c |fwrite>.|<getc>.<|
|00002750| 67 65 74 63 68 61 72 3e | 0a 3c 67 65 74 73 3e 0a |getchar>|.<gets>.|
|00002760| 70 65 72 72 6f 72 0a 3c | 70 72 69 6e 74 66 3e 0a |perror.<|printf>.|
|00002770| 3c 70 75 74 63 3e 0a 3c | 70 75 74 63 68 61 72 3e |<putc>.<|putchar>|
|00002780| 0a 3c 72 65 6d 6f 76 65 | 3e 0a 3c 72 65 6e 61 6d |.<remove|>.<renam|
|00002790| 65 3e 0a 3c 72 65 77 69 | 6e 64 3e 0a 3c 73 63 61 |e>.<rewi|nd>.<sca|
|000027a0| 6e 66 3e 0a 73 65 74 62 | 75 66 0a 73 65 74 76 62 |nf>.setb|uf.setvb|
|000027b0| 75 66 0a 3c 73 70 72 69 | 6e 74 66 3e 0a 3c 73 73 |uf.<spri|ntf>.<ss|
|000027c0| 63 61 6e 66 3e 0a 3c 74 | 6d 70 66 69 6c 65 3e 0a |canf>.<t|mpfile>.|
|000027d0| 3c 74 6d 70 6e 61 6d 3e | 0a 3c 75 6e 67 65 74 63 |<tmpnam>|.<ungetc|
|000027e0| 3e 0a 76 66 70 72 69 6e | 74 66 0a 76 70 72 69 6e |>.vfprin|tf.vprin|
|000027f0| 74 66 0a 76 73 70 72 69 | 6e 74 66 0a 23 45 6e 64 |tf.vspri|ntf.#End|
|00002800| 74 61 62 6c 65 0a 0a 43 | 6f 6e 73 74 61 6e 74 73 |table..C|onstants|
|00002810| 3a 0a 45 4f 46 09 41 20 | 63 6f 6e 73 74 61 6e 74 |:.EOF.A |constant|
|00002820| 20 74 68 61 74 20 73 69 | 67 6e 61 6c 73 20 65 6e | that si|gnals en|
|00002830| 64 2d 6f 66 2d 66 69 6c | 65 2c 20 77 68 65 6e 20 |d-of-fil|e, when |
|00002840| 61 20 63 68 61 72 61 63 | 74 65 72 20 69 73 20 72 |a charac|ter is r|
|00002850| 65 71 75 65 73 74 65 64 | 20 66 72 6f 6d 20 61 6e |equested| from an|
|00002860| 20 69 6e 70 75 74 20 73 | 74 72 65 61 6d 0a 4e 55 | input s|tream.NU|
|00002870| 4c 4c 09 49 6e 76 61 6c | 69 64 20 70 6f 69 6e 74 |LL.Inval|id point|
|00002880| 65 72 2c 20 72 65 74 75 | 72 6e 65 64 20 74 6f 20 |er, retu|rned to |
|00002890| 69 6e 64 69 63 61 74 65 | 20 61 20 66 61 69 6c 75 |indicate| a failu|
|000028a0| 72 65 0a 0a 54 79 70 65 | 73 3a 0a 73 69 7a 65 5f |re..Type|s:.size_|
|000028b0| 74 09 41 6e 20 75 6e 73 | 69 67 6e 65 64 20 69 6e |t.An uns|igned in|
|000028c0| 74 20 74 79 70 65 20 74 | 6f 20 73 74 6f 72 65 20 |t type t|o store |
|000028d0| 66 69 6c 65 20 70 6f 73 | 69 74 69 6f 6e 73 20 65 |file pos|itions e|
|000028e0| 74 63 2e 0a 46 49 4c 45 | 09 41 20 73 74 72 75 63 |tc..FILE|.A struc|
|000028f0| 74 75 72 65 20 75 73 65 | 64 20 61 73 20 61 20 68 |ture use|d as a h|
|00002900| 61 6e 64 6c 65 20 66 6f | 72 20 69 6e 70 75 74 20 |andle fo|r input |
|00002910| 61 6e 64 20 6f 75 74 70 | 75 74 20 73 74 72 65 61 |and outp|ut strea|
|00002920| 6d 73 0a 66 70 6f 73 5f | 74 09 41 20 74 79 70 65 |ms.fpos_|t.A type|
|00002930| 20 74 68 61 74 20 63 61 | 6e 20 73 74 6f 72 65 20 | that ca|n store |
|00002940| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|00002950| 74 20 66 69 6c 65 20 70 | 6f 73 69 74 69 6f 6e 73 |t file p|ositions|
|00002960| 20 00 00 00 44 41 54 41 | 1c 06 00 00 70 72 69 6e | ...DATA|....prin|
|00002970| 74 66 0a 23 49 6e 63 6c | 75 64 65 20 53 74 79 6c |tf.#Incl|ude Styl|
|00002980| 65 0a 23 50 61 72 65 6e | 74 20 73 74 64 69 6f 2f |e.#Paren|t stdio/|
|00002990| 68 0a 23 77 72 61 70 20 | 6f 66 66 0a 23 66 63 6f |h.#wrap |off.#fco|
|000029a0| 64 65 0a 65 78 74 65 72 | 6e 20 69 6e 74 20 70 72 |de.exter|n int pr|
|000029b0| 69 6e 74 66 28 20 63 6f | 6e 73 74 20 63 68 61 72 |intf( co|nst char|
|000029c0| 20 5c 2a 20 66 6f 72 6d | 61 74 2c 20 2e 2e 2e 20 | \* form|at, ... |
|000029d0| 29 3b 0a 23 66 0a 23 77 | 72 61 70 0a 0a 54 68 69 |);.#f.#w|rap..Thi|
|000029e0| 73 20 72 6f 75 74 69 6e | 65 20 70 72 69 6e 74 73 |s routin|e prints|
|000029f0| 20 61 20 73 74 72 69 6e | 67 20 61 73 20 73 70 65 | a strin|g as spe|
|00002a00| 63 69 66 69 65 64 20 69 | 6e 20 74 68 65 20 66 6f |cified i|n the fo|
|00002a10| 72 6d 61 74 20 74 6f 20 | 74 68 65 20 73 74 61 6e |rmat to |the stan|
|00002a20| 64 61 72 64 20 6f 75 74 | 70 75 74 2c 20 74 61 6b |dard out|put, tak|
|00002a30| 69 6e 67 20 6d 6f 72 65 | 20 61 72 67 75 6d 65 6e |ing more| argumen|
|00002a40| 74 73 20 69 66 20 73 70 | 65 63 69 66 69 65 64 20 |ts if sp|ecified |
|00002a50| 69 6e 20 74 68 65 20 66 | 6f 72 6d 61 74 20 73 74 |in the f|ormat st|
|00002a60| 72 69 6e 67 2e 20 54 68 | 65 20 66 6f 72 6d 61 74 |ring. Th|e format|
|00002a70| 20 73 74 72 69 6e 67 20 | 69 73 20 6c 69 74 65 72 | string |is liter|
|00002a80| 61 6c 6c 79 20 63 6f 70 | 69 65 64 20 65 78 63 65 |ally cop|ied exce|
|00002a90| 70 74 20 66 6f 72 20 63 | 6f 6d 6d 61 6e 64 20 66 |pt for c|ommand f|
|00002aa0| 69 65 6c 64 73 20 73 74 | 61 72 74 69 6e 67 20 77 |ields st|arting w|
|00002ab0| 69 74 68 20 74 68 65 20 | 27 5c 25 27 20 63 68 61 |ith the |'\%' cha|
|00002ac0| 72 61 63 74 65 72 2e 0a | 0a 43 6f 6d 6d 61 6e 64 |racter..|.Command|
|00002ad0| 20 66 69 65 6c 64 73 20 | 68 61 76 65 20 74 68 65 | fields |have the|
|00002ae0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 73 79 6e 74 61 | followi|ng synta|
|00002af0| 78 3a 0a 5c 25 5b 66 6c | 61 67 73 5d 5b 77 69 64 |x:.\%[fl|ags][wid|
|00002b00| 74 68 5d 2e 5b 70 72 65 | 63 69 73 69 6f 6e 5d 5b |th].[pre|cision][|
|00002b10| 6d 6f 64 69 66 69 65 72 | 5d 74 79 70 65 0a 0a 46 |modifier|]type..F|
|00002b20| 6c 61 67 20 63 68 61 72 | 61 63 74 65 72 73 20 61 |lag char|acters a|
|00002b30| 72 65 3a 0a 2d 09 4c 65 | 66 74 20 6a 75 73 74 69 |re:.-.Le|ft justi|
|00002b40| 66 79 20 66 69 65 6c 64 | 0a 2b 09 46 6f 72 63 65 |fy field|.+.Force|
|00002b50| 20 61 20 2b 20 63 68 61 | 72 61 63 74 65 72 20 66 | a + cha|racter f|
|00002b60| 6f 72 20 70 6f 73 69 74 | 69 76 65 20 6e 75 6d 62 |or posit|ive numb|
|00002b70| 65 72 73 0a 53 70 61 63 | 65 09 46 6f 72 63 65 20 |ers.Spac|e.Force |
|00002b80| 61 20 73 70 61 63 65 20 | 66 6f 72 20 6e 75 6d 62 |a space |for numb|
|00002b90| 65 72 73 20 74 68 61 74 | 20 61 72 65 20 6e 65 69 |ers that| are nei|
|00002ba0| 74 68 65 72 20 70 6f 73 | 69 74 69 76 65 20 6e 6f |ther pos|itive no|
|00002bb0| 72 20 6e 65 67 61 74 69 | 76 65 0a 5c 23 09 53 68 |r negati|ve.\#.Sh|
|00002bc0| 6f 77 20 74 68 65 20 62 | 61 73 65 20 6f 66 20 74 |ow the b|ase of t|
|00002bd0| 68 65 20 6e 75 6d 62 65 | 72 20 62 79 20 70 72 65 |he numbe|r by pre|
|00002be0| 66 69 78 69 6e 67 20 77 | 69 74 68 20 30 20 28 6f |fixing w|ith 0 (o|
|00002bf0| 63 74 61 6c 29 20 6f 72 | 20 30 78 20 28 68 65 78 |ctal) or| 0x (hex|
|00002c00| 29 0a 30 09 50 72 69 6e | 74 20 6c 65 61 64 69 6e |).0.Prin|t leadin|
|00002c10| 67 20 7a 65 72 6f 65 73 | 0a 5c 2a 09 49 67 6e 6f |g zeroes|.\*.Igno|
|00002c20| 72 65 20 61 20 66 69 65 | 6c 64 20 61 66 74 65 72 |re a fie|ld after|
|00002c30| 20 72 65 61 64 69 6e 67 | 20 28 66 6f 72 20 75 73 | reading| (for us|
|00002c40| 65 20 77 69 74 68 20 3c | 73 63 61 6e 66 3e 29 0a |e with <|scanf>).|
|00002c50| 0a 54 68 65 20 77 69 64 | 74 68 20 69 73 20 74 68 |.The wid|th is th|
|00002c60| 65 20 6d 69 6e 69 6d 75 | 6d 20 73 69 7a 65 20 74 |e minimu|m size t|
|00002c70| 68 65 20 66 69 65 6c 64 | 20 77 69 6c 6c 20 62 65 |he field| will be|
|00002c80| 20 70 61 64 64 65 64 20 | 74 6f 2e 0a 0a 54 68 65 | padded |to...The|
|00002c90| 20 70 72 65 63 69 73 69 | 6f 6e 20 70 61 72 61 6d | precisi|on param|
|00002ca0| 65 74 65 72 20 73 65 74 | 73 20 74 68 65 20 6e 75 |eter set|s the nu|
|00002cb0| 6d 62 65 72 20 6f 66 20 | 64 69 67 69 74 73 20 61 |mber of |digits a|
|00002cc0| 66 74 65 72 20 74 68 65 | 20 64 65 63 69 6d 61 6c |fter the| decimal|
|00002cd0| 20 70 6f 69 6e 74 20 66 | 6f 72 20 66 6c 6f 61 74 | point f|or float|
|00002ce0| 73 2c 20 61 6e 64 20 74 | 68 65 20 6d 69 6e 69 6d |s, and t|he minim|
|00002cf0| 75 6d 20 6e 75 6d 62 65 | 72 20 6f 66 20 64 69 67 |um numbe|r of dig|
|00002d00| 69 74 73 20 66 6f 72 20 | 61 6e 20 69 6e 74 65 67 |its for |an integ|
|00002d10| 65 72 2e 0a 0a 54 68 65 | 20 74 79 70 65 20 61 6e |er...The| type an|
|00002d20| 64 20 6d 6f 64 69 66 69 | 65 72 20 69 6e 64 69 63 |d modifi|er indic|
|00002d30| 61 74 65 20 77 68 61 74 | 20 6b 69 6e 64 20 6f 66 |ate what| kind of|
|00002d40| 20 66 69 65 6c 64 20 74 | 6f 20 65 78 70 65 63 74 | field t|o expect|
|00002d50| 20 61 6e 64 20 68 6f 77 | 20 74 6f 20 70 72 69 6e | and how| to prin|
|00002d60| 74 20 69 74 2e 20 41 20 | 6c 69 73 74 20 6f 66 20 |t it. A |list of |
|00002d70| 74 79 70 65 73 20 77 69 | 74 68 20 6d 6f 64 69 66 |types wi|th modif|
|00002d80| 69 65 72 73 20 61 6e 64 | 20 65 78 61 6d 70 6c 65 |iers and| example|
|00002d90| 73 20 66 6f 6c 6c 6f 77 | 73 3a 0a 0a 46 6f 72 6d |s follow|s:..Form|
|00002da0| 61 74 20 74 79 70 65 09 | 56 61 72 69 61 62 6c 65 |at type.|Variable|
|00002db0| 20 74 79 70 65 09 45 78 | 61 6d 70 6c 65 0a 64 09 | type.Ex|ample.d.|
|00002dc0| 69 6e 74 09 31 38 0a 6c | 64 09 6c 6f 6e 67 20 69 |int.18.l|d.long i|
|00002dd0| 6e 74 09 31 38 0a 68 64 | 09 73 68 6f 72 74 20 69 |nt.18.hd|.short i|
|00002de0| 6e 74 09 31 38 0a 69 09 | 69 6e 74 09 31 38 0a 75 |nt.18.i.|int.18.u|
|00002df0| 09 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 09 31 38 |.unsigne|d int.18|
|00002e00| 0a 6f 09 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 20 |.o.unsig|ned int |
|00002e10| 28 6f 63 74 61 6c 29 09 | 32 32 0a 78 09 75 6e 73 |(octal).|22.x.uns|
|00002e20| 69 67 6e 65 64 20 69 6e | 74 20 28 68 65 78 29 09 |igned in|t (hex).|
|00002e30| 31 66 0a 58 09 75 6e 73 | 69 67 6e 65 64 20 69 6e |1f.X.uns|igned in|
|00002e40| 74 20 28 68 65 78 29 09 | 31 46 0a 66 09 64 6f 75 |t (hex).|1F.f.dou|
|00002e50| 62 6c 65 09 31 38 2e 32 | 0a 65 09 64 6f 75 62 6c |ble.18.2|.e.doubl|
|00002e60| 65 09 31 2e 38 32 65 2b | 30 31 0a 45 09 64 6f 75 |e.1.82e+|01.E.dou|
|00002e70| 62 6c 65 09 31 2e 38 32 | 45 2b 30 31 0a 63 09 75 |ble.1.82|E+01.c.u|
|00002e80| 6e 73 69 67 6e 65 64 20 | 63 68 61 72 09 41 0a 73 |nsigned |char.A.s|
|00002e90| 09 63 68 61 72 20 2a 09 | 53 74 72 69 6e 67 0a 0a |.char *.|String..|
|00002ea0| 23 69 6e 63 6c 75 64 65 | 20 58 53 74 79 6c 65 0a |#include| XStyle.|
|00002eb0| 70 72 69 6e 74 66 28 22 | 53 6f 6d 65 20 77 61 79 |printf("|Some way|
|00002ec0| 73 20 74 6f 20 70 72 69 | 6e 74 20 74 68 65 20 64 |s to pri|nt the d|
|00002ed0| 61 79 73 20 69 6e 20 25 | 73 20 3a 20 25 64 20 25 |ays in %|s : %d %|
|00002ee0| 2b 31 32 2e 64 20 25 23 | 2e 78 20 25 65 22 2c 20 |+12.d %#|.x %e", |
|00002ef0| 22 61 20 79 65 61 72 22 | 2c 20 33 36 35 2c 20 33 |"a year"|, 365, 3|
|00002f00| 36 35 2c 20 33 36 35 2c | 20 28 64 6f 75 62 6c 65 |65, 365,| (double|
|00002f10| 29 20 33 36 35 29 3b 0a | 23 69 6e 63 6c 75 64 65 |) 365);.|#include|
|00002f20| 20 58 53 74 79 6c 65 4f | 66 66 0a 70 72 69 6e 74 | XStyleO|ff.print|
|00002f30| 73 20 22 53 6f 6d 65 20 | 77 61 79 73 20 74 6f 20 |s "Some |ways to |
|00002f40| 70 72 69 6e 74 20 74 68 | 65 20 64 61 79 73 20 69 |print th|e days i|
|00002f50| 6e 20 20 61 20 79 65 61 | 72 20 3a 20 33 36 35 20 |n a yea|r : 365 |
|00002f60| 20 20 20 20 20 20 20 20 | 2b 33 36 35 20 30 78 31 | |+365 0x1|
|00002f70| 36 64 20 33 2e 36 35 30 | 30 30 30 65 2b 30 32 22 |6d 3.650|000e+02"|
|00002f80| 44 41 54 41 4d 06 00 00 | 70 72 69 6e 74 66 0d 0a |DATAM...|printf..|
|00002f90| 23 49 6e 63 6c 75 64 65 | 20 53 74 79 6c 65 0d 0a |#Include| Style..|
|00002fa0| 23 50 61 72 65 6e 74 20 | 73 74 64 69 6f 2f 68 0d |#Parent |stdio/h.|
|00002fb0| 0a 23 77 72 61 70 20 6f | 66 66 0d 0a 23 66 63 6f |.#wrap o|ff..#fco|
|00002fc0| 64 65 0d 0a 65 78 74 65 | 72 6e 20 69 6e 74 20 70 |de..exte|rn int p|
|00002fd0| 72 69 6e 74 66 28 20 63 | 6f 6e 73 74 20 63 68 61 |rintf( c|onst cha|
|00002fe0| 72 20 5c 2a 20 66 6f 72 | 6d 61 74 2c 20 2e 2e 2e |r \* for|mat, ...|
|00002ff0| 20 29 3b 0d 0a 23 66 0d | 0a 23 77 72 61 70 0d 0a | );..#f.|.#wrap..|
|00003000| 0d 0a 54 68 69 73 20 72 | 6f 75 74 69 6e 65 20 70 |..This r|outine p|
|00003010| 72 69 6e 74 73 20 61 20 | 73 74 72 69 6e 67 20 61 |rints a |string a|
|00003020| 73 20 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 74 |s specif|ied in t|
|00003030| 68 65 20 66 6f 72 6d 61 | 74 20 74 6f 20 74 68 65 |he forma|t to the|
|00003040| 20 73 74 61 6e 64 61 72 | 64 20 6f 75 74 70 75 74 | standar|d output|
|00003050| 2c 20 74 61 6b 69 6e 67 | 20 6d 6f 72 65 20 61 72 |, taking| more ar|
|00003060| 67 75 6d 65 6e 74 73 20 | 69 66 20 73 70 65 63 69 |guments |if speci|
|00003070| 66 69 65 64 20 69 6e 20 | 74 68 65 20 66 6f 72 6d |fied in |the form|
|00003080| 61 74 20 73 74 72 69 6e | 67 2e 20 54 68 65 20 66 |at strin|g. The f|
|00003090| 6f 72 6d 61 74 20 73 74 | 72 69 6e 67 20 69 73 20 |ormat st|ring is |
|000030a0| 6c 69 74 65 72 61 6c 6c | 79 20 63 6f 70 69 65 64 |literall|y copied|
|000030b0| 20 65 78 63 65 70 74 20 | 66 6f 72 20 63 6f 6d 6d | except |for comm|
|000030c0| 61 6e 64 20 66 69 65 6c | 64 73 20 73 74 61 72 74 |and fiel|ds start|
|000030d0| 69 6e 67 20 77 69 74 68 | 20 74 68 65 20 27 5c 25 |ing with| the '\%|
|000030e0| 27 20 63 68 61 72 61 63 | 74 65 72 2e 0d 0a 0d 0a |' charac|ter.....|
|000030f0| 43 6f 6d 6d 61 6e 64 20 | 66 69 65 6c 64 73 20 68 |Command |fields h|
|00003100| 61 76 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ave the |followin|
|00003110| 67 20 73 79 6e 74 61 78 | 3a 0d 0a 5c 25 5b 66 6c |g syntax|:..\%[fl|
|00003120| 61 67 73 5d 5b 77 69 64 | 74 68 5d 2e 5b 70 72 65 |ags][wid|th].[pre|
|00003130| 63 69 73 69 6f 6e 5d 5b | 6d 6f 64 69 66 69 65 72 |cision][|modifier|
|00003140| 5d 74 79 70 65 0d 0a 0d | 0a 46 6c 61 67 20 63 68 |]type...|.Flag ch|
|00003150| 61 72 61 63 74 65 72 73 | 20 61 72 65 3a 0d 0a 2d |aracters| are:..-|
|00003160| 09 4c 65 66 74 20 6a 75 | 73 74 69 66 79 20 66 69 |.Left ju|stify fi|
|00003170| 65 6c 64 0d 0a 2b 09 46 | 6f 72 63 65 20 61 20 2b |eld..+.F|orce a +|
|00003180| 20 63 68 61 72 61 63 74 | 65 72 20 66 6f 72 20 70 | charact|er for p|
|00003190| 6f 73 69 74 69 76 65 20 | 6e 75 6d 62 65 72 73 0d |ositive |numbers.|
|000031a0| 0a 53 70 61 63 65 09 46 | 6f 72 63 65 20 61 20 73 |.Space.F|orce a s|
|000031b0| 70 61 63 65 20 66 6f 72 | 20 6e 75 6d 62 65 72 73 |pace for| numbers|
|000031c0| 20 74 68 61 74 20 61 72 | 65 20 6e 65 69 74 68 65 | that ar|e neithe|
|000031d0| 72 20 70 6f 73 69 74 69 | 76 65 20 6e 6f 72 20 6e |r positi|ve nor n|
|000031e0| 65 67 61 74 69 76 65 0d | 0a 5c 23 09 53 68 6f 77 |egative.|.\#.Show|
|000031f0| 20 74 68 65 20 62 61 73 | 65 20 6f 66 20 74 68 65 | the bas|e of the|
|00003200| 20 6e 75 6d 62 65 72 20 | 62 79 20 70 72 65 66 69 | number |by prefi|
|00003210| 78 69 6e 67 20 77 69 74 | 68 20 30 20 28 6f 63 74 |xing wit|h 0 (oct|
|00003220| 61 6c 29 20 6f 72 20 30 | 78 20 28 68 65 78 29 0d |al) or 0|x (hex).|
|00003230| 0a 30 09 50 72 69 6e 74 | 20 6c 65 61 64 69 6e 67 |.0.Print| leading|
|00003240| 20 7a 65 72 6f 65 73 0d | 0a 5c 2a 09 49 67 6e 6f | zeroes.|.\*.Igno|
|00003250| 72 65 20 61 20 66 69 65 | 6c 64 20 61 66 74 65 72 |re a fie|ld after|
|00003260| 20 72 65 61 64 69 6e 67 | 20 28 66 6f 72 20 75 73 | reading| (for us|
|00003270| 65 20 77 69 74 68 20 3c | 73 63 61 6e 66 3e 29 0d |e with <|scanf>).|
|00003280| 0a 0d 0a 54 68 65 20 77 | 69 64 74 68 20 69 73 20 |...The w|idth is |
|00003290| 74 68 65 20 6d 69 6e 69 | 6d 75 6d 20 73 69 7a 65 |the mini|mum size|
|000032a0| 20 74 68 65 20 66 69 65 | 6c 64 20 77 69 6c 6c 20 | the fie|ld will |
|000032b0| 62 65 20 70 61 64 64 65 | 64 20 74 6f 2e 0d 0a 0d |be padde|d to....|
|000032c0| 0a 54 68 65 20 70 72 65 | 63 69 73 69 6f 6e 20 70 |.The pre|cision p|
|000032d0| 61 72 61 6d 65 74 65 72 | 20 73 65 74 73 20 74 68 |arameter| sets th|
|000032e0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 64 69 67 69 |e number| of digi|
|000032f0| 74 73 20 61 66 74 65 72 | 20 74 68 65 20 64 65 63 |ts after| the dec|
|00003300| 69 6d 61 6c 20 70 6f 69 | 6e 74 20 66 6f 72 20 66 |imal poi|nt for f|
|00003310| 6c 6f 61 74 73 2c 20 61 | 6e 64 20 74 68 65 20 6d |loats, a|nd the m|
|00003320| 69 6e 69 6d 75 6d 20 6e | 75 6d 62 65 72 20 6f 66 |inimum n|umber of|
|00003330| 20 64 69 67 69 74 73 20 | 66 6f 72 20 61 6e 20 69 | digits |for an i|
|00003340| 6e 74 65 67 65 72 2e 0d | 0a 0d 0a 54 68 65 20 74 |nteger..|...The t|
|00003350| 79 70 65 20 61 6e 64 20 | 6d 6f 64 69 66 69 65 72 |ype and |modifier|
|00003360| 20 69 6e 64 69 63 61 74 | 65 20 77 68 61 74 20 6b | indicat|e what k|
|00003370| 69 6e 64 20 6f 66 20 66 | 69 65 6c 64 20 74 6f 20 |ind of f|ield to |
|00003380| 65 78 70 65 63 74 20 61 | 6e 64 20 68 6f 77 20 74 |expect a|nd how t|
|00003390| 6f 20 70 72 69 6e 74 20 | 69 74 2e 20 41 20 6c 69 |o print |it. A li|
|000033a0| 73 74 20 6f 66 20 74 79 | 70 65 73 20 77 69 74 68 |st of ty|pes with|
|000033b0| 20 6d 6f 64 69 66 69 65 | 72 73 20 61 6e 64 20 65 | modifie|rs and e|
|000033c0| 78 61 6d 70 6c 65 73 20 | 66 6f 6c 6c 6f 77 73 3a |xamples |follows:|
|000033d0| 0d 0a 0d 0a 46 6f 72 6d | 61 74 20 74 79 70 65 09 |....Form|at type.|
|000033e0| 56 61 72 69 61 62 6c 65 | 20 74 79 70 65 09 45 78 |Variable| type.Ex|
|000033f0| 61 6d 70 6c 65 0d 0a 64 | 09 69 6e 74 09 31 38 0d |ample..d|.int.18.|
|00003400| 0a 6c 64 09 6c 6f 6e 67 | 20 69 6e 74 09 31 38 0d |.ld.long| int.18.|
|00003410| 0a 68 64 09 73 68 6f 72 | 74 20 69 6e 74 09 31 38 |.hd.shor|t int.18|
|00003420| 0d 0a 69 09 69 6e 74 09 | 31 38 0d 0a 75 09 75 6e |..i.int.|18..u.un|
|00003430| 73 69 67 6e 65 64 20 69 | 6e 74 09 31 38 0d 0a 6f |signed i|nt.18..o|
|00003440| 09 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 20 28 6f |.unsigne|d int (o|
|00003450| 63 74 61 6c 29 09 32 32 | 0d 0a 78 09 75 6e 73 69 |ctal).22|..x.unsi|
|00003460| 67 6e 65 64 20 69 6e 74 | 20 28 68 65 78 29 09 31 |gned int| (hex).1|
|00003470| 66 0d 0a 58 09 75 6e 73 | 69 67 6e 65 64 20 69 6e |f..X.uns|igned in|
|00003480| 74 20 28 68 65 78 29 09 | 31 46 0d 0a 66 09 64 6f |t (hex).|1F..f.do|
|00003490| 75 62 6c 65 09 31 38 2e | 32 0d 0a 65 09 64 6f 75 |uble.18.|2..e.dou|
|000034a0| 62 6c 65 09 31 2e 38 32 | 65 2b 30 31 0d 0a 45 09 |ble.1.82|e+01..E.|
|000034b0| 64 6f 75 62 6c 65 09 31 | 2e 38 32 45 2b 30 31 0d |double.1|.82E+01.|
|000034c0| 0a 63 09 75 6e 73 69 67 | 6e 65 64 20 63 68 61 72 |.c.unsig|ned char|
|000034d0| 09 41 0d 0a 73 09 63 68 | 61 72 20 2a 09 53 74 72 |.A..s.ch|ar *.Str|
|000034e0| 69 6e 67 0d 0a 0d 0a 23 | 69 6e 63 6c 75 64 65 20 |ing....#|include |
|000034f0| 58 53 74 79 6c 65 0d 0a | 70 72 69 6e 74 66 28 22 |XStyle..|printf("|
|00003500| 53 6f 6d 65 20 77 61 79 | 73 20 74 6f 20 70 72 69 |Some way|s to pri|
|00003510| 6e 74 20 74 68 65 20 64 | 61 79 73 20 69 6e 20 25 |nt the d|ays in %|
|00003520| 73 20 3a 20 25 64 20 25 | 2b 31 32 2e 64 20 25 23 |s : %d %|+12.d %#|
|00003530| 2e 78 20 25 65 22 2c 20 | 22 20 61 20 79 65 61 72 |.x %e", |" a year|
|00003540| 22 2c 20 33 36 35 2c 20 | 33 36 35 2c 20 33 36 35 |", 365, |365, 365|
|00003550| 2c 20 28 64 6f 75 62 6c | 65 29 20 33 36 35 29 3b |, (doubl|e) 365);|
|00003560| 0d 0a 23 69 6e 63 6c 75 | 64 65 20 58 53 74 79 6c |..#inclu|de XStyl|
|00003570| 65 4f 66 66 0d 0a 70 72 | 69 6e 74 73 20 22 53 6f |eOff..pr|ints "So|
|00003580| 6d 65 20 77 61 79 73 20 | 74 6f 20 70 72 69 6e 74 |me ways |to print|
|00003590| 20 74 68 65 20 64 61 79 | 73 20 69 6e 20 20 61 20 | the day|s in a |
|000035a0| 79 65 61 72 20 3a 20 33 | 36 35 20 20 20 20 20 20 |year : 3|65 |
|000035b0| 20 20 20 2b 33 36 35 20 | 30 78 31 36 64 20 33 2e | +365 |0x16d 3.|
|000035c0| 36 35 30 30 30 30 65 2b | 30 32 22 0d 0a 00 00 00 |650000e+|02".....|
|000035d0| 44 41 54 41 00 03 00 00 | 73 63 61 6e 66 0a 23 49 |DATA....|scanf.#I|
|000035e0| 6e 63 6c 75 64 65 20 53 | 74 79 6c 65 0a 23 50 61 |nclude S|tyle.#Pa|
|000035f0| 72 65 6e 74 20 73 74 64 | 69 6f 2f 68 0a 23 77 72 |rent std|io/h.#wr|
|00003600| 61 70 20 6f 66 66 0a 23 | 66 63 6f 64 65 0a 65 78 |ap off.#|fcode.ex|
|00003610| 74 65 72 6e 20 69 6e 74 | 20 73 63 61 6e 66 28 20 |tern int| scanf( |
|00003620| 63 6f 6e 73 74 20 63 68 | 61 72 20 5c 2a 20 66 6f |const ch|ar \* fo|
|00003630| 72 6d 61 74 2c 20 2e 2e | 2e 20 29 3b 0a 23 66 0a |rmat, ..|. );.#f.|
|00003640| 23 77 72 61 70 0a 0a 54 | 68 69 73 20 72 6f 75 74 |#wrap..T|his rout|
|00003650| 69 6e 65 20 72 65 61 64 | 73 20 73 74 61 6e 64 61 |ine read|s standa|
|00003660| 72 64 20 69 6e 70 75 74 | 2c 20 74 72 79 69 6e 67 |rd input|, trying|
|00003670| 20 74 6f 20 63 6f 6e 76 | 65 72 74 20 76 61 6c 75 | to conv|ert valu|
|00003680| 65 73 20 64 65 74 65 72 | 6d 69 6e 65 64 20 62 79 |es deter|mined by|
|00003690| 20 74 68 65 20 66 6f 72 | 6d 61 74 20 73 74 72 69 | the for|mat stri|
|000036a0| 6e 67 2e 20 54 68 65 20 | 63 6f 6d 6d 61 6e 64 20 |ng. The |command |
|000036b0| 66 69 65 6c 64 73 20 69 | 6e 20 74 68 65 20 66 6f |fields i|n the fo|
|000036c0| 72 6d 61 74 20 73 74 72 | 69 6e 67 73 20 68 61 76 |rmat str|ings hav|
|000036d0| 65 20 74 68 65 20 73 61 | 6d 65 20 73 79 6e 74 61 |e the sa|me synta|
|000036e0| 78 20 61 73 20 74 68 6f | 73 65 20 66 6f 72 20 3c |x as tho|se for <|
|000036f0| 70 72 69 6e 74 66 3e 2e | 20 41 20 73 70 61 63 65 |printf>.| A space|
|00003700| 20 63 68 61 72 61 63 74 | 65 72 20 69 6e 20 74 68 | charact|er in th|
|00003710| 65 20 66 6f 72 6d 61 74 | 20 73 74 72 69 6e 67 20 |e format| string |
|00003720| 77 69 6c 6c 20 73 6b 69 | 70 20 61 6e 79 20 77 68 |will ski|p any wh|
|00003730| 69 74 65 73 70 61 63 65 | 20 70 72 65 63 65 64 69 |itespace| precedi|
|00003740| 6e 67 20 61 20 66 69 65 | 6c 64 2e 20 54 68 65 20 |ng a fie|ld. The |
|00003750| 61 72 67 75 6d 65 6e 74 | 73 20 66 6f 6c 6c 6f 77 |argument|s follow|
|00003760| 69 6e 67 20 74 68 65 20 | 66 6f 72 6d 61 74 20 61 |ing the |format a|
|00003770| 72 65 20 74 68 65 20 61 | 64 64 72 65 73 73 65 73 |re the a|ddresses|
|00003780| 73 20 6f 66 20 76 61 72 | 69 61 62 6c 65 73 20 74 |s of var|iables t|
|00003790| 68 61 74 20 63 6f 72 72 | 65 73 70 6f 6e 64 20 77 |hat corr|espond w|
|000037a0| 69 74 68 20 74 68 65 20 | 66 6f 72 6d 61 74 20 66 |ith the |format f|
|000037b0| 69 65 6c 64 2e 0a 0a 23 | 69 6e 63 6c 75 64 65 20 |ield...#|include |
|000037c0| 58 53 74 79 6c 65 0a 69 | 6e 74 20 79 6f 75 72 5f |XStyle.i|nt your_|
|000037d0| 61 67 65 3b 0a 73 63 61 | 6e 66 20 28 20 22 20 25 |age;.sca|nf ( " %|
|000037e0| 64 25 5c 2a 63 22 2c 20 | 26 79 6f 75 72 5f 61 67 |d%\*c", |&your_ag|
|000037f0| 65 29 3b 0a 23 69 6e 63 | 6c 75 64 65 20 58 53 74 |e);.#inc|lude XSt|
|00003800| 79 6c 65 4f 66 66 0a 77 | 69 6c 6c 20 73 63 61 6e |yleOff.w|ill scan|
|00003810| 20 73 74 61 6e 64 61 72 | 64 20 69 6e 70 75 74 2c | standar|d input,|
|00003820| 20 66 69 72 73 74 20 73 | 6b 69 70 70 69 6e 67 20 | first s|kipping |
|00003830| 77 68 69 74 65 73 70 61 | 63 65 2c 20 74 68 65 6e |whitespa|ce, then|
|00003840| 20 74 72 79 20 74 6f 20 | 63 6f 6e 76 65 72 74 20 | try to |convert |
|00003850| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 69 6e |the foll|owing in|
|00003860| 70 75 74 20 74 6f 20 61 | 6e 20 69 6e 74 65 67 65 |put to a|n intege|
|00003870| 72 20 76 61 6c 75 65 20 | 61 6e 64 20 73 74 6f 72 |r value |and stor|
|00003880| 65 20 69 74 20 69 6e 20 | 79 6f 75 72 5f 61 67 65 |e it in |your_age|
|00003890| 2c 20 61 6e 64 20 74 68 | 65 6e 20 73 6b 69 70 20 |, and th|en skip |
|000038a0| 74 68 65 20 63 68 61 72 | 61 63 74 65 72 20 74 68 |the char|acter th|
|000038b0| 61 74 20 74 65 72 6d 69 | 6e 61 74 65 64 20 74 68 |at termi|nated th|
|000038c0| 65 20 69 6e 74 65 67 65 | 72 20 76 61 6c 75 65 2e |e intege|r value.|
|000038d0| 44 41 54 41 d1 00 00 00 | 73 73 63 61 6e 66 0a 23 |DATA....|sscanf.#|
|000038e0| 49 6e 63 6c 75 64 65 20 | 53 74 79 6c 65 0a 23 50 |Include |Style.#P|
|000038f0| 61 72 65 6e 74 20 73 74 | 64 69 6f 2f 68 0a 23 77 |arent st|dio/h.#w|
|00003900| 72 61 70 20 6f 66 66 0a | 23 66 63 6f 64 65 0a 65 |rap off.|#fcode.e|
|00003910| 78 74 65 72 6e 20 69 6e | 74 20 73 73 63 61 6e 66 |xtern in|t sscanf|
|00003920| 28 20 63 6f 6e 73 74 20 | 63 68 61 72 20 5c 2a 20 |( const |char \* |
|00003930| 73 2c 20 63 6f 6e 73 74 | 20 63 68 61 72 20 5c 2a |s, const| char \*|
|00003940| 20 66 6f 72 6d 61 74 2c | 20 2e 2e 2e 20 29 3b 0a | format,| ... );.|
|00003950| 23 66 0a 23 77 72 61 70 | 0a 0a 45 71 75 69 76 61 |#f.#wrap|..Equiva|
|00003960| 6c 65 6e 74 20 74 6f 20 | 3c 73 63 61 6e 66 3e 2c |lent to |<scanf>,|
|00003970| 20 62 75 74 20 74 61 6b | 65 73 20 69 6e 70 75 74 | but tak|es input|
|00003980| 20 66 72 6f 6d 20 74 68 | 65 20 73 74 72 69 6e 67 | from th|e string|
|00003990| 20 70 6f 69 6e 74 65 64 | 20 74 6f 20 62 79 20 73 | pointed| to by s|
|000039a0| 2e 00 00 00 44 41 54 41 | ce 00 00 00 73 70 72 69 |....DATA|....spri|
|000039b0| 6e 74 66 0a 23 49 6e 63 | 6c 75 64 65 20 53 74 79 |ntf.#Inc|lude Sty|
|000039c0| 6c 65 0a 23 50 61 72 65 | 6e 74 20 73 74 64 69 6f |le.#Pare|nt stdio|
|000039d0| 2f 68 0a 23 77 72 61 70 | 20 6f 66 66 0a 23 66 63 |/h.#wrap| off.#fc|
|000039e0| 6f 64 65 0a 65 78 74 65 | 72 6e 20 69 6e 74 20 73 |ode.exte|rn int s|
|000039f0| 70 72 69 6e 74 66 28 20 | 63 68 61 72 20 5c 2a 20 |printf( |char \* |
|00003a00| 73 2c 20 63 6f 6e 73 74 | 20 63 68 61 72 20 5c 2a |s, const| char \*|
|00003a10| 20 66 6f 72 6d 61 74 2c | 20 2e 2e 2e 20 29 3b 0a | format,| ... );.|
|00003a20| 23 66 0a 23 77 72 61 70 | 0a 0a 45 71 75 69 76 61 |#f.#wrap|..Equiva|
|00003a30| 6c 65 6e 74 20 74 6f 20 | 3c 70 72 69 6e 74 66 3e |lent to |<printf>|
|00003a40| 2c 20 62 75 74 20 77 72 | 69 74 65 73 20 6f 75 74 |, but wr|ites out|
|00003a50| 70 75 74 20 74 6f 20 74 | 68 65 20 73 74 72 69 6e |put to t|he strin|
|00003a60| 67 20 70 6f 69 6e 74 65 | 64 20 74 6f 20 62 79 20 |g pointe|d to by |
|00003a70| 73 2e 00 00 44 41 54 41 | c7 00 00 00 66 73 63 61 |s...DATA|....fsca|
|00003a80| 6e 66 0a 23 49 6e 63 6c | 75 64 65 20 53 74 79 6c |nf.#Incl|ude Styl|
|00003a90| 65 0a 23 50 61 72 65 6e | 74 20 73 74 64 69 6f 2f |e.#Paren|t stdio/|
|00003aa0| 68 0a 23 77 72 61 70 20 | 6f 66 66 0a 23 66 63 6f |h.#wrap |off.#fco|
|00003ab0| 64 65 0a 65 78 74 65 72 | 6e 20 69 6e 74 20 66 73 |de.exter|n int fs|
|00003ac0| 63 61 6e 66 28 20 46 49 | 4c 45 20 2a 73 2c 20 63 |canf( FI|LE *s, c|
|00003ad0| 6f 6e 73 74 20 63 68 61 | 72 20 5c 2a 20 66 6f 72 |onst cha|r \* for|
|00003ae0| 6d 61 74 2c 20 2e 2e 2e | 20 29 3b 0a 23 66 0a 23 |mat, ...| );.#f.#|
|00003af0| 77 72 61 70 0a 0a 45 71 | 75 69 76 61 6c 65 6e 74 |wrap..Eq|uivalent|
|00003b00| 20 74 6f 20 3c 73 63 61 | 6e 66 3e 2c 20 62 75 74 | to <sca|nf>, but|
|00003b10| 20 74 61 6b 65 73 20 69 | 6e 70 75 74 20 66 72 6f | takes i|nput fro|
|00003b20| 6d 20 74 68 65 20 66 69 | 6c 65 20 70 6f 69 6e 74 |m the fi|le point|
|00003b30| 65 64 20 74 6f 20 62 79 | 20 73 2e 00 44 41 54 41 |ed to by| s..DATA|
|00003b40| cc 00 00 00 66 70 72 69 | 6e 74 66 0a 23 49 6e 63 |....fpri|ntf.#Inc|
|00003b50| 6c 75 64 65 20 53 74 79 | 6c 65 0a 23 50 61 72 65 |lude Sty|le.#Pare|
|00003b60| 6e 74 20 73 74 64 69 6f | 2f 68 0a 23 77 72 61 70 |nt stdio|/h.#wrap|
|00003b70| 20 6f 66 66 0a 23 66 63 | 6f 64 65 0a 65 78 74 65 | off.#fc|ode.exte|
|00003b80| 72 6e 20 69 6e 74 20 66 | 70 72 69 6e 74 66 28 20 |rn int f|printf( |
|00003b90| 46 49 4c 45 20 5c 2a 20 | 73 2c 20 63 6f 6e 73 74 |FILE \* |s, const|
|00003ba0| 20 63 68 61 72 20 5c 2a | 20 66 6f 72 6d 61 74 2c | char \*| format,|
|00003bb0| 20 2e 2e 2e 20 29 3b 0a | 23 66 0a 23 77 72 61 70 | ... );.|#f.#wrap|
|00003bc0| 0a 0a 45 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |..Equiva|lent to |
|00003bd0| 3c 70 72 69 6e 74 66 3e | 2c 20 62 75 74 20 77 72 |<printf>|, but wr|
|00003be0| 69 74 65 73 20 6f 75 74 | 70 75 74 20 74 6f 20 74 |ites out|put to t|
|00003bf0| 68 65 20 66 69 6c 65 20 | 70 6f 69 6e 74 65 64 20 |he file |pointed |
|00003c00| 74 6f 20 62 79 20 73 2e | 44 41 54 41 97 00 00 00 |to by s.|DATA....|
|00003c10| 67 65 74 63 68 61 72 0a | 23 49 6e 63 6c 75 64 65 |getchar.|#Include|
|00003c20| 20 53 74 79 6c 65 0a 23 | 50 61 72 65 6e 74 20 73 | Style.#|Parent s|
|00003c30| 74 64 69 6f 2f 68 0a 23 | 77 72 61 70 20 6f 66 66 |tdio/h.#|wrap off|
|00003c40| 0a 23 66 63 6f 64 65 0a | 69 6e 74 20 67 65 74 63 |.#fcode.|int getc|
|00003c50| 68 61 72 28 20 76 6f 69 | 64 20 29 3b 0a 23 66 0a |har( voi|d );.#f.|
|00003c60| 23 77 72 61 70 0a 0a 52 | 65 74 75 72 6e 73 20 74 |#wrap..R|eturns t|
|00003c70| 68 65 20 6e 65 78 74 20 | 63 68 61 72 61 63 74 65 |he next |characte|
|00003c80| 72 20 69 6e 20 74 68 65 | 20 73 74 61 6e 64 61 72 |r in the| standar|
|00003c90| 64 20 69 6e 70 75 74 20 | 73 74 72 65 61 6d 2e 00 |d input |stream..|
|00003ca0| 44 41 54 41 85 00 00 00 | 70 75 74 63 68 61 72 0a |DATA....|putchar.|
|00003cb0| 23 49 6e 63 6c 75 64 65 | 20 53 74 79 6c 65 0a 23 |#Include| Style.#|
|00003cc0| 50 61 72 65 6e 74 20 73 | 74 64 69 6f 2f 68 0a 23 |Parent s|tdio/h.#|
|00003cd0| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|00003ce0| 69 6e 74 20 70 75 74 63 | 68 61 72 28 20 69 6e 74 |int putc|har( int|
|00003cf0| 20 63 20 29 3b 0a 23 66 | 0a 23 77 72 61 70 0a 0a | c );.#f|.#wrap..|
|00003d00| 50 75 74 73 20 63 20 69 | 6e 20 74 68 65 20 73 74 |Puts c i|n the st|
|00003d10| 61 6e 64 61 72 64 20 6f | 75 74 70 75 74 20 73 74 |andard o|utput st|
|00003d20| 72 65 61 6d 2e 00 00 00 | 44 41 54 41 83 00 00 00 |ream....|DATA....|
|00003d30| 70 75 74 63 0a 23 49 6e | 63 6c 75 64 65 20 53 74 |putc.#In|clude St|
|00003d40| 79 6c 65 0a 23 50 61 72 | 65 6e 74 20 73 74 64 69 |yle.#Par|ent stdi|
|00003d50| 6f 2f 68 0a 23 77 72 61 | 70 20 6f 66 66 0a 23 66 |o/h.#wra|p off.#f|
|00003d60| 63 6f 64 65 0a 69 6e 74 | 20 70 75 74 63 28 20 69 |code.int| putc( i|
|00003d70| 6e 74 20 63 20 2c 20 46 | 49 4c 45 20 5c 2a 20 73 |nt c , F|ILE \* s|
|00003d80| 29 3b 0a 23 66 0a 23 77 | 72 61 70 0a 0a 50 75 74 |);.#f.#w|rap..Put|
|00003d90| 73 20 63 20 69 6e 20 74 | 68 65 20 6f 75 74 70 75 |s c in t|he outpu|
|00003da0| 74 20 73 74 72 65 61 6d | 20 73 2e 00 44 41 54 41 |t stream| s..DATA|
|00003db0| 8f 00 00 00 67 65 74 63 | 0a 23 49 6e 63 6c 75 64 |....getc|.#Includ|
|00003dc0| 65 20 53 74 79 6c 65 0a | 23 50 61 72 65 6e 74 20 |e Style.|#Parent |
|00003dd0| 73 74 64 69 6f 2f 68 0a | 23 77 72 61 70 20 6f 66 |stdio/h.|#wrap of|
|00003de0| 66 0a 23 66 63 6f 64 65 | 0a 69 6e 74 20 67 65 74 |f.#fcode|.int get|
|00003df0| 63 28 20 46 49 4c 45 20 | 5c 2a 20 73 20 29 3b 0a |c( FILE |\* s );.|
|00003e00| 23 66 0a 23 77 72 61 70 | 0a 0a 52 65 74 75 72 6e |#f.#wrap|..Return|
|00003e10| 73 20 74 68 65 20 6e 65 | 78 74 20 63 68 61 72 61 |s the ne|xt chara|
|00003e20| 63 74 65 72 20 69 6e 20 | 74 68 65 20 69 6e 70 75 |cter in |the inpu|
|00003e30| 74 20 73 74 72 65 61 6d | 20 73 2e 00 44 41 54 41 |t stream| s..DATA|
|00003e40| 4c 01 00 00 67 65 74 73 | 0a 23 49 6e 63 6c 75 64 |L...gets|.#Includ|
|00003e50| 65 20 53 74 79 6c 65 0a | 23 50 61 72 65 6e 74 20 |e Style.|#Parent |
|00003e60| 73 74 64 69 6f 2f 68 0a | 23 77 72 61 70 20 6f 66 |stdio/h.|#wrap of|
|00003e70| 66 0a 23 66 63 6f 64 65 | 0a 63 68 61 72 20 5c 2a |f.#fcode|.char \*|
|00003e80| 20 67 65 74 73 28 20 63 | 68 61 72 20 5c 2a 20 73 | gets( c|har \* s|
|00003e90| 20 29 3b 0a 23 66 0a 23 | 77 72 61 70 0a 0a 52 65 | );.#f.#|wrap..Re|
|00003ea0| 61 64 73 20 74 68 65 20 | 6e 65 78 74 20 6c 69 6e |ads the |next lin|
|00003eb0| 65 20 6f 66 20 69 6e 70 | 75 74 20 66 72 6f 6d 20 |e of inp|ut from |
|00003ec0| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 |the stan|dard inp|
|00003ed0| 75 74 20 73 74 72 65 61 | 6d 2c 20 74 65 72 6d 69 |ut strea|m, termi|
|00003ee0| 6e 61 74 65 64 20 62 79 | 20 65 6e 64 2d 6f 66 2d |nated by| end-of-|
|00003ef0| 66 69 6c 65 20 6f 72 20 | 61 20 6e 65 77 6c 69 6e |file or |a newlin|
|00003f00| 65 2e 20 54 68 65 20 69 | 6e 70 75 74 2c 20 65 78 |e. The i|nput, ex|
|00003f10| 63 6c 75 64 69 6e 67 20 | 6e 65 77 6c 69 6e 65 20 |cluding |newline |
|00003f20| 62 75 74 20 66 6f 6c 6c | 6f 77 65 64 20 62 79 20 |but foll|owed by |
|00003f30| 61 20 6e 75 6c 6c 20 63 | 68 61 72 61 63 74 65 72 |a null c|haracter|
|00003f40| 2c 20 69 73 20 77 72 69 | 74 74 65 6e 20 74 6f 20 |, is wri|tten to |
|00003f50| 74 68 65 20 61 72 72 61 | 79 20 61 74 20 73 2c 20 |the arra|y at s, |
|00003f60| 61 6e 64 20 73 20 69 73 | 20 72 65 74 75 72 6e 65 |and s is| returne|
|00003f70| 64 20 61 73 20 74 68 65 | 20 66 75 6e 63 74 69 6f |d as the| functio|
|00003f80| 6e 20 76 61 6c 75 65 2e | 44 41 54 41 ff 00 00 00 |n value.|DATA....|
|00003f90| 66 67 65 74 73 0a 23 49 | 6e 63 6c 75 64 65 20 53 |fgets.#I|nclude S|
|00003fa0| 74 79 6c 65 0a 23 50 61 | 72 65 6e 74 20 73 74 64 |tyle.#Pa|rent std|
|00003fb0| 69 6f 2f 68 0a 23 77 72 | 61 70 20 6f 66 66 0a 23 |io/h.#wr|ap off.#|
|00003fc0| 66 63 6f 64 65 0a 63 68 | 61 72 20 5c 2a 20 66 67 |fcode.ch|ar \* fg|
|00003fd0| 65 74 73 28 20 63 68 61 | 72 20 5c 2a 20 73 20 2c |ets( cha|r \* s ,|
|00003fe0| 20 69 6e 74 20 6e 2c 20 | 46 49 4c 45 20 5c 2a 20 | int n, |FILE \* |
|00003ff0| 66 29 3b 0a 23 66 0a 23 | 77 72 61 70 0a 0a 49 64 |f);.#f.#|wrap..Id|
|00004000| 65 6e 74 69 63 61 6c 20 | 74 6f 20 3c 67 65 74 73 |entical |to <gets|
|00004010| 3e 20 65 78 63 65 70 74 | 20 6e 6f 20 6d 6f 72 65 |> except| no more|
|00004020| 20 74 68 61 6e 20 6e 2d | 31 20 63 68 61 72 61 63 | than n-|1 charac|
|00004030| 74 65 72 73 20 77 69 6c | 6c 20 62 65 20 72 65 61 |ters wil|l be rea|
|00004040| 64 2c 20 74 68 65 20 69 | 6e 70 75 74 20 69 73 20 |d, the i|nput is |
|00004050| 66 72 6f 6d 20 73 74 72 | 65 61 6d 20 66 2c 20 61 |from str|eam f, a|
|00004060| 6e 64 20 74 68 65 20 74 | 65 72 6d 69 6e 61 74 69 |nd the t|erminati|
|00004070| 6e 67 20 6e 65 77 6c 69 | 6e 65 20 69 73 20 72 65 |ng newli|ne is re|
|00004080| 74 61 69 6e 65 64 2e 00 | 44 41 54 41 b3 00 00 00 |tained..|DATA....|
|00004090| 70 75 74 73 0a 23 49 6e | 63 6c 75 64 65 20 53 74 |puts.#In|clude St|
|000040a0| 79 6c 65 0a 23 50 61 72 | 65 6e 74 20 73 74 64 69 |yle.#Par|ent stdi|
|000040b0| 6f 2f 68 0a 23 77 72 61 | 70 20 6f 66 66 0a 23 66 |o/h.#wra|p off.#f|
|000040c0| 63 6f 64 65 0a 69 6e 74 | 20 70 75 74 73 28 20 63 |code.int| puts( c|
|000040d0| 6f 6e 73 74 20 63 68 61 | 72 20 5c 2a 20 73 20 29 |onst cha|r \* s )|
|000040e0| 3b 0a 23 66 0a 23 77 72 | 61 70 0a 0a 57 72 69 74 |;.#f.#wr|ap..Writ|
|000040f0| 65 73 20 74 68 65 20 73 | 74 72 69 6e 67 20 70 6f |es the s|tring po|
|00004100| 69 6e 74 65 64 20 74 6f | 20 62 79 20 73 20 66 6f |inted to| by s fo|
|00004110| 6c 6c 6f 77 65 64 20 62 | 79 20 61 20 6e 65 77 6c |llowed b|y a newl|
|00004120| 69 6e 65 20 74 6f 20 74 | 68 65 20 73 74 61 6e 64 |ine to t|he stand|
|00004130| 61 72 64 20 6f 75 74 70 | 75 74 2e 00 44 41 54 41 |ard outp|ut..DATA|
|00004140| bd 00 00 00 66 70 75 74 | 73 0a 23 49 6e 63 6c 75 |....fput|s.#Inclu|
|00004150| 64 65 20 53 74 79 6c 65 | 0a 23 50 61 72 65 6e 74 |de Style|.#Parent|
|00004160| 20 73 74 64 69 6f 2f 68 | 0a 23 77 72 61 70 20 6f | stdio/h|.#wrap o|
|00004170| 66 66 0a 23 66 63 6f 64 | 65 0a 69 6e 74 20 66 70 |ff.#fcod|e.int fp|
|00004180| 75 74 73 28 20 63 6f 6e | 73 74 20 63 68 61 72 20 |uts( con|st char |
|00004190| 5c 2a 20 73 20 2c 20 46 | 49 4c 45 20 5c 2a 20 66 |\* s , F|ILE \* f|
|000041a0| 20 29 3b 0a 23 66 0a 23 | 77 72 61 70 0a 0a 49 64 | );.#f.#|wrap..Id|
|000041b0| 65 6e 74 69 63 61 6c 20 | 74 6f 20 3c 70 75 74 73 |entical |to <puts|
|000041c0| 3e 20 65 78 63 65 70 74 | 20 6f 75 74 70 75 74 20 |> except| output |
|000041d0| 69 73 20 74 6f 20 73 74 | 72 65 61 6d 20 66 2c 20 |is to st|ream f, |
|000041e0| 61 6e 64 20 6e 65 77 6c | 69 6e 65 20 69 73 20 6e |and newl|ine is n|
|000041f0| 6f 74 20 61 64 64 65 64 | 2e 00 00 00 44 41 54 41 |ot added|....DATA|
|00004200| d8 00 00 00 66 72 65 61 | 64 0a 23 49 6e 63 6c 75 |....frea|d.#Inclu|
|00004210| 64 65 20 53 74 79 6c 65 | 0a 23 50 61 72 65 6e 74 |de Style|.#Parent|
|00004220| 20 73 74 64 69 6f 2f 68 | 0a 23 77 72 61 70 20 6f | stdio/h|.#wrap o|
|00004230| 66 66 0a 23 66 63 6f 64 | 65 0a 73 69 7a 65 5f 74 |ff.#fcod|e.size_t|
|00004240| 20 66 72 65 61 64 28 20 | 76 6f 69 64 20 5c 2a 20 | fread( |void \* |
|00004250| 70 74 72 2c 20 73 69 7a | 65 5f 74 20 73 69 7a 65 |ptr, siz|e_t size|
|00004260| 2c 20 73 69 7a 65 5f 74 | 20 6e 2c 20 46 49 4c 45 |, size_t| n, FILE|
|00004270| 20 5c 2a 20 73 29 3b 0a | 23 66 0a 23 77 72 61 70 | \* s);.|#f.#wrap|
|00004280| 0a 0a 52 65 61 64 73 20 | 75 70 20 74 6f 20 6e 20 |..Reads |up to n |
|00004290| 6f 62 6a 65 63 74 73 20 | 6f 66 20 73 69 7a 65 20 |objects |of size |
|000042a0| 73 69 7a 65 20 66 72 6f | 6d 20 74 68 65 20 66 69 |size fro|m the fi|
|000042b0| 6c 65 20 69 6e 74 6f 20 | 74 68 65 20 61 72 72 61 |le into |the arra|
|000042c0| 79 20 70 6f 69 6e 74 65 | 64 20 74 6f 20 62 79 20 |y pointe|d to by |
|000042d0| 70 74 72 2e 44 41 54 41 | 18 03 00 00 66 6f 70 65 |ptr.DATA|....fope|
|000042e0| 6e 0a 23 49 6e 63 6c 75 | 64 65 20 53 74 79 6c 65 |n.#Inclu|de Style|
|000042f0| 0a 23 50 61 72 65 6e 74 | 20 73 74 64 69 6f 2f 68 |.#Parent| stdio/h|
|00004300| 0a 23 77 72 61 70 20 6f | 66 66 0a 23 66 63 6f 64 |.#wrap o|ff.#fcod|
|00004310| 65 0a 46 49 4c 45 20 5c | 2a 20 66 6f 70 65 6e 28 |e.FILE \|* fopen(|
|00004320| 20 63 6f 6e 73 74 20 63 | 68 61 72 20 5c 2a 20 6e | const c|har \* n|
|00004330| 61 6d 65 2c 20 63 6f 6e | 73 74 20 63 68 61 72 20 |ame, con|st char |
|00004340| 5c 2a 20 6d 20 29 3b 0a | 23 66 0a 23 77 72 61 70 |\* m );.|#f.#wrap|
|00004350| 0a 0a 54 72 69 65 73 20 | 74 6f 20 6f 70 65 6e 20 |..Tries |to open |
|00004360| 74 68 65 20 66 69 6c 65 | 20 77 68 6f 73 65 20 66 |the file| whose f|
|00004370| 69 6c 65 6e 61 6d 65 20 | 69 73 20 67 69 76 65 6e |ilename |is given|
|00004380| 20 62 79 20 6e 61 6d 65 | 2e 20 54 68 65 20 6d 6f | by name|. The mo|
|00004390| 64 65 20 70 61 72 61 6d | 65 74 65 72 20 6d 20 67 |de param|eter m g|
|000043a0| 69 76 65 73 20 74 68 65 | 20 61 63 63 65 73 73 20 |ives the| access |
|000043b0| 72 65 71 75 69 72 65 64 | 20 66 6f 72 20 74 68 65 |required| for the|
|000043c0| 20 66 69 6c 65 2e 20 49 | 66 20 74 68 65 20 66 69 | file. I|f the fi|
|000043d0| 6c 65 20 63 61 6e 20 6e | 6f 74 20 62 65 20 6f 70 |le can n|ot be op|
|000043e0| 65 6e 65 64 20 69 6e 20 | 74 68 65 20 72 65 71 75 |ened in |the requ|
|000043f0| 65 73 74 65 64 20 6d 6f | 64 65 20 4e 55 4c 4c 20 |ested mo|de NULL |
|00004400| 77 69 6c 6c 20 62 65 20 | 72 65 74 75 72 6e 65 64 |will be |returned|
|00004410| 2e 0a 0a 4d 6f 64 65 09 | 41 63 63 65 73 73 20 74 |...Mode.|Access t|
|00004420| 79 70 65 0a 22 72 22 09 | 52 65 61 64 20 6f 6e 6c |ype."r".|Read onl|
|00004430| 79 0a 22 77 22 09 57 72 | 69 74 65 20 6f 6e 6c 79 |y."w".Wr|ite only|
|00004440| 2c 20 63 72 65 61 74 69 | 6e 67 20 61 20 6e 65 77 |, creati|ng a new|
|00004450| 20 66 69 6c 65 20 6f 72 | 20 74 72 75 6e 63 61 74 | file or| truncat|
|00004460| 69 6e 67 20 66 69 6c 65 | 20 74 6f 20 6e 75 6c 6c |ing file| to null|
|00004470| 20 6c 65 6e 67 74 68 0a | 22 61 22 09 57 72 69 74 | length.|"a".Writ|
|00004480| 65 20 6f 6e 6c 79 2c 20 | 61 6c 77 61 79 73 20 61 |e only, |always a|
|00004490| 70 70 65 6e 64 69 6e 67 | 20 6f 75 74 70 75 74 20 |ppending| output |
|000044a0| 74 6f 20 66 69 6c 65 0a | 0a 54 68 65 20 66 6f 6c |to file.|.The fol|
|000044b0| 6c 6f 77 69 6e 67 20 6d | 6f 64 69 66 69 65 72 73 |lowing m|odifiers|
|000044c0| 20 63 61 6e 20 62 65 20 | 61 64 64 65 64 20 74 6f | can be |added to|
|000044d0| 20 74 68 65 20 6d 6f 64 | 65 3a 0a 22 62 22 09 4f | the mod|e:."b".O|
|000044e0| 70 65 6e 20 62 69 6e 61 | 72 79 20 66 69 6c 65 20 |pen bina|ry file |
|000044f0| 28 69 67 6e 6f 72 69 6e | 67 20 69 6d 70 6c 65 6d |(ignorin|g implem|
|00004500| 65 6e 74 61 74 69 6f 6e | 2d 64 65 66 69 6e 65 64 |entation|-defined|
|00004510| 20 74 65 78 74 66 69 6c | 65 20 74 72 61 6e 73 6c | textfil|e transl|
|00004520| 61 74 69 6f 6e 73 29 0a | 22 2b 22 09 4f 70 65 6e |ations).|"+".Open|
|00004530| 20 66 69 6c 65 20 66 6f | 72 20 72 65 61 64 69 6e | file fo|r readin|
|00004540| 67 20 61 6e 64 20 77 72 | 69 74 69 6e 67 0a 0a 41 |g and wr|iting..A|
|00004550| 20 66 69 6c 65 20 74 68 | 61 74 20 69 73 20 6f 70 | file th|at is op|
|00004560| 65 6e 65 64 20 66 6f 72 | 20 72 65 61 64 69 6e 67 |ened for| reading|
|00004570| 20 61 6e 64 20 77 72 69 | 74 69 6e 67 20 63 61 6e | and wri|ting can|
|00004580| 20 6e 6f 74 20 62 65 20 | 72 65 61 64 20 61 66 74 | not be |read aft|
|00004590| 65 72 20 77 72 69 74 69 | 6e 67 2c 20 6f 72 20 77 |er writi|ng, or w|
|000045a0| 72 69 74 74 65 6e 20 61 | 66 74 65 72 20 72 65 61 |ritten a|fter rea|
|000045b0| 64 69 6e 67 2c 20 77 69 | 74 68 6f 75 74 20 61 20 |ding, wi|thout a |
|000045c0| 63 61 6c 6c 20 74 6f 20 | 3c 66 66 6c 75 73 68 3e |call to |<fflush>|
|000045d0| 20 6f 72 20 61 20 66 69 | 6c 65 20 70 6f 73 69 74 | or a fi|le posit|
|000045e0| 69 6f 6e 69 6e 67 20 63 | 61 6c 6c 2e 44 41 54 41 |ioning c|all.DATA|
|000045f0| ff 00 00 00 66 72 65 6f | 70 65 6e 0a 23 49 6e 63 |....freo|pen.#Inc|
|00004600| 6c 75 64 65 20 53 74 79 | 6c 65 0a 23 50 61 72 65 |lude Sty|le.#Pare|
|00004610| 6e 74 20 73 74 64 69 6f | 2f 68 0a 23 77 72 61 70 |nt stdio|/h.#wrap|
|00004620| 20 6f 66 66 0a 23 66 63 | 6f 64 65 0a 46 49 4c 45 | off.#fc|ode.FILE|
|00004630| 20 5c 2a 20 66 72 65 6f | 70 65 6e 28 20 63 6f 6e | \* freo|pen( con|
|00004640| 73 74 20 63 68 61 72 20 | 5c 2a 20 6e 61 6d 65 2c |st char |\* name,|
|00004650| 20 63 6f 6e 73 74 20 63 | 68 61 72 20 5c 2a 20 6d | const c|har \* m|
|00004660| 20 2c 20 46 49 4c 45 20 | 5c 2a 20 73 20 29 3b 0a | , FILE |\* s );.|
|00004670| 23 66 0a 23 77 72 61 70 | 0a 0a 54 72 69 65 73 20 |#f.#wrap|..Tries |
|00004680| 74 6f 20 3c 66 63 6c 6f | 73 65 3e 20 61 6e 20 6f |to <fclo|se> an o|
|00004690| 70 65 6e 20 73 74 72 65 | 61 6d 20 73 2c 20 61 6e |pen stre|am s, an|
|000046a0| 64 20 74 68 65 6e 20 3c | 66 6f 70 65 6e 3e 20 61 |d then <|fopen> a|
|000046b0| 20 6e 65 77 20 66 69 6c | 65 20 77 68 69 63 68 20 | new fil|e which |
|000046c0| 69 73 20 61 73 73 6f 63 | 69 61 74 65 64 20 77 69 |is assoc|iated wi|
|000046d0| 74 68 20 74 68 65 20 73 | 61 6d 65 20 73 74 72 65 |th the s|ame stre|
|000046e0| 61 6d 20 70 6f 69 6e 74 | 65 72 2e 00 44 41 54 41 |am point|er..DATA|
|000046f0| 9b 00 00 00 66 63 6c 6f | 73 65 0a 23 49 6e 63 6c |....fclo|se.#Incl|
|00004700| 75 64 65 20 53 74 79 6c | 65 0a 23 50 61 72 65 6e |ude Styl|e.#Paren|
|00004710| 74 20 73 74 64 69 6f 2f | 68 0a 23 77 72 61 70 20 |t stdio/|h.#wrap |
|00004720| 6f 66 66 0a 23 66 63 6f | 64 65 0a 69 6e 74 20 66 |off.#fco|de.int f|
|00004730| 63 6c 6f 73 65 20 28 20 | 46 49 4c 45 20 5c 2a 20 |close ( |FILE \* |
|00004740| 73 20 29 3b 0a 23 66 0a | 23 77 72 61 70 0a 0a 3c |s );.#f.|#wrap..<|
|00004750| 46 6c 75 73 68 65 73 3d | 3e 66 66 6c 75 73 68 3e |Flushes=|>fflush>|
|00004760| 20 61 6e 64 20 63 6c 6f | 73 65 73 20 74 68 65 20 | and clo|ses the |
|00004770| 73 74 72 65 61 6d 20 70 | 6f 69 6e 74 65 64 20 74 |stream p|ointed t|
|00004780| 6f 20 62 79 20 73 2e 00 | 44 41 54 41 4b 02 00 00 |o by s..|DATAK...|
|00004790| 66 73 65 65 6b 0a 23 49 | 6e 63 6c 75 64 65 20 53 |fseek.#I|nclude S|
|000047a0| 74 79 6c 65 0a 23 50 61 | 72 65 6e 74 20 73 74 64 |tyle.#Pa|rent std|
|000047b0| 69 6f 2f 68 0a 23 77 72 | 61 70 20 6f 66 66 0a 23 |io/h.#wr|ap off.#|
|000047c0| 66 63 6f 64 65 0a 69 6e | 74 20 66 73 65 65 6b 20 |fcode.in|t fseek |
|000047d0| 28 20 46 49 4c 45 20 5c | 2a 20 73 2c 20 6c 6f 6e |( FILE \|* s, lon|
|000047e0| 67 20 69 6e 74 20 6f 2c | 20 69 6e 74 20 77 20 29 |g int o,| int w )|
|000047f0| 3b 0a 23 66 0a 23 77 72 | 61 70 0a 0a 4d 6f 76 65 |;.#f.#wr|ap..Move|
|00004800| 73 20 74 68 65 20 66 69 | 6c 65 20 70 6f 73 69 74 |s the fi|le posit|
|00004810| 69 6f 6e 20 69 6e 64 69 | 63 61 74 6f 72 20 61 73 |ion indi|cator as|
|00004820| 73 6f 63 69 61 74 65 64 | 20 77 69 74 68 20 74 68 |sociated| with th|
|00004830| 65 20 73 74 72 65 61 6d | 20 73 20 74 6f 20 61 20 |e stream| s to a |
|00004840| 6e 65 77 20 70 6f 73 69 | 74 69 6f 6e 2e 20 54 68 |new posi|tion. Th|
|00004850| 65 20 6e 65 77 20 70 6f | 73 69 74 69 6f 6e 20 69 |e new po|sition i|
|00004860| 73 20 64 65 66 69 6e 65 | 64 20 62 79 20 74 68 65 |s define|d by the|
|00004870| 20 6f 66 66 73 65 74 20 | 6f 20 66 72 6f 6d 20 74 | offset |o from t|
|00004880| 68 65 20 70 6f 73 69 74 | 69 6f 6e 20 77 2e 0a 0a |he posit|ion w...|
|00004890| 56 61 6c 75 65 73 20 66 | 6f 72 20 77 20 61 72 65 |Values f|or w are|
|000048a0| 3a 0a 53 45 45 4b 5f 53 | 45 54 09 4f 66 66 73 65 |:.SEEK_S|ET.Offse|
|000048b0| 74 20 69 73 20 66 72 6f | 6d 20 74 68 65 20 73 74 |t is fro|m the st|
|000048c0| 61 72 74 20 6f 66 20 74 | 68 65 20 66 69 6c 65 0a |art of t|he file.|
|000048d0| 53 45 45 4b 5f 43 55 52 | 09 4f 66 66 73 65 74 20 |SEEK_CUR|.Offset |
|000048e0| 69 73 20 66 72 6f 6d 20 | 74 68 65 20 63 75 72 72 |is from |the curr|
|000048f0| 65 6e 74 20 70 6f 73 69 | 74 69 6f 6e 20 69 6e 20 |ent posi|tion in |
|00004900| 74 68 65 20 66 69 6c 65 | 0a 53 45 45 4b 5f 45 4e |the file|.SEEK_EN|
|00004910| 44 09 4f 66 66 73 65 74 | 20 69 73 20 66 72 6f 6d |D.Offset| is from|
|00004920| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 66 69 6c 65 | the end| of file|
|00004930| 20 70 6f 73 69 74 69 6f | 6e 0a 0a 57 68 65 6e 20 | positio|n..When |
|00004940| 77 20 69 73 20 53 45 45 | 4b 5f 45 4e 44 20 61 20 |w is SEE|K_END a |
|00004950| 70 6f 73 69 74 69 76 65 | 20 6f 66 66 73 65 74 20 |positive| offset |
|00004960| 70 6f 69 6e 74 73 20 69 | 6e 20 74 68 65 20 64 69 |points i|n the di|
|00004970| 72 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 73 |rection |of the s|
|00004980| 74 61 72 74 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |tart of |the file|
|00004990| 2e 20 46 6f 72 20 61 20 | 74 65 78 74 20 73 74 72 |. For a |text str|
|000049a0| 65 61 6d 20 6f 20 6d 75 | 73 74 20 62 65 20 7a 65 |eam o mu|st be ze|
|000049b0| 72 6f 20 77 68 65 6e 20 | 75 73 69 6e 67 20 53 45 |ro when |using SE|
|000049c0| 45 4b 5f 43 55 52 20 6f | 72 20 53 45 45 4b 5f 45 |EK_CUR o|r SEEK_E|
|000049d0| 4e 44 2e 00 44 41 54 41 | 15 01 00 00 66 74 65 6c |ND..DATA|....ftel|
|000049e0| 6c 0a 23 49 6e 63 6c 75 | 64 65 20 53 74 79 6c 65 |l.#Inclu|de Style|
|000049f0| 0a 23 50 61 72 65 6e 74 | 20 73 74 64 69 6f 2f 68 |.#Parent| stdio/h|
|00004a00| 0a 23 77 72 61 70 20 6f | 66 66 0a 23 66 63 6f 64 |.#wrap o|ff.#fcod|
|00004a10| 65 0a 6c 6f 6e 67 20 69 | 6e 74 20 66 74 65 6c 6c |e.long i|nt ftell|
|00004a20| 20 28 20 46 49 4c 45 20 | 5c 2a 20 73 20 29 3b 0a | ( FILE |\* s );.|
|00004a30| 23 66 0a 23 77 72 61 70 | 0a 0a 52 65 74 75 72 6e |#f.#wrap|..Return|
|00004a40| 73 20 74 68 65 20 66 69 | 6c 65 20 70 6f 73 69 74 |s the fi|le posit|
|00004a50| 69 6f 6e 20 69 6e 64 69 | 63 61 74 6f 72 20 61 73 |ion indi|cator as|
|00004a60| 73 6f 63 69 61 74 65 64 | 20 77 69 74 68 20 73 74 |sociated| with st|
|00004a70| 72 65 61 6d 20 73 2c 20 | 66 6f 72 20 6c 61 74 65 |ream s, |for late|
|00004a80| 72 20 75 73 65 20 77 69 | 74 68 20 3c 66 73 65 65 |r use wi|th <fsee|
|00004a90| 6b 3e 2e 20 46 6f 72 20 | 61 20 62 69 6e 61 72 79 |k>. For |a binary|
|00004aa0| 20 73 74 72 65 61 6d 20 | 74 68 69 73 20 69 73 20 | stream |this is |
|00004ab0| 73 69 6d 70 6c 79 20 74 | 68 65 20 6f 66 66 73 65 |simply t|he offse|
|00004ac0| 74 20 69 6e 20 62 79 74 | 65 73 20 6f 66 20 74 68 |t in byt|es of th|
|00004ad0| 65 20 63 75 72 72 65 6e | 74 20 66 69 6c 65 20 70 |e curren|t file p|
|00004ae0| 6f 73 69 74 69 6f 6e 2e | 20 00 00 00 44 41 54 41 |osition.| ...DATA|
|00004af0| d8 00 00 00 66 65 6f 66 | 0a 23 49 6e 63 6c 75 64 |....feof|.#Includ|
|00004b00| 65 20 53 74 79 6c 65 0a | 23 50 61 72 65 6e 74 20 |e Style.|#Parent |
|00004b10| 73 74 64 69 6f 2f 68 0a | 23 77 72 61 70 20 6f 66 |stdio/h.|#wrap of|
|00004b20| 66 0a 23 66 63 6f 64 65 | 0a 69 6e 74 20 66 65 6f |f.#fcode|.int feo|
|00004b30| 66 20 28 20 46 49 4c 45 | 20 5c 2a 20 73 20 29 3b |f ( FILE| \* s );|
|00004b40| 0a 23 66 0a 23 77 72 61 | 70 0a 0a 52 65 74 75 72 |.#f.#wra|p..Retur|
|00004b50| 6e 73 20 6e 6f 6e 2d 7a | 65 72 6f 20 69 66 20 74 |ns non-z|ero if t|
|00004b60| 68 65 20 69 6e 70 75 74 | 20 73 74 72 65 61 6d 20 |he input| stream |
|00004b70| 73 20 68 61 73 20 65 6e | 63 6f 75 6e 74 65 72 65 |s has en|countere|
|00004b80| 64 20 61 6e 20 65 6e 64 | 2d 6f 66 2d 66 69 6c 65 |d an end|-of-file|
|00004b90| 2c 20 69 2e 65 2e 20 6e | 6f 20 6d 6f 72 65 20 64 |, i.e. n|o more d|
|00004ba0| 61 74 61 20 63 61 6e 20 | 62 65 20 6d 65 61 6e 69 |ata can |be meani|
|00004bb0| 6e 67 66 75 6c 6c 79 20 | 72 65 61 64 20 66 72 6f |ngfully |read fro|
|00004bc0| 6d 20 73 2e 44 41 54 41 | 91 00 00 00 66 67 65 74 |m s.DATA|....fget|
|00004bd0| 63 0a 23 49 6e 63 6c 75 | 64 65 20 53 74 79 6c 65 |c.#Inclu|de Style|
|00004be0| 0a 23 50 61 72 65 6e 74 | 20 73 74 64 69 6f 2f 68 |.#Parent| stdio/h|
|00004bf0| 0a 23 77 72 61 70 20 6f | 66 66 0a 23 66 63 6f 64 |.#wrap o|ff.#fcod|
|00004c00| 65 0a 69 6e 74 20 66 67 | 65 74 63 28 20 46 49 4c |e.int fg|etc( FIL|
|00004c10| 45 20 5c 2a 20 73 20 29 | 3b 0a 23 66 0a 23 77 72 |E \* s )|;.#f.#wr|
|00004c20| 61 70 0a 0a 52 65 74 75 | 72 6e 73 20 74 68 65 20 |ap..Retu|rns the |
|00004c30| 6e 65 78 74 20 63 68 61 | 72 61 63 74 65 72 20 69 |next cha|racter i|
|00004c40| 6e 20 74 68 65 20 69 6e | 70 75 74 20 73 74 72 65 |n the in|put stre|
|00004c50| 61 6d 20 73 2e 00 00 00 | 44 41 54 41 85 00 00 00 |am s....|DATA....|
|00004c60| 66 70 75 74 63 0a 23 49 | 6e 63 6c 75 64 65 20 53 |fputc.#I|nclude S|
|00004c70| 74 79 6c 65 0a 23 50 61 | 72 65 6e 74 20 73 74 64 |tyle.#Pa|rent std|
|00004c80| 69 6f 2f 68 0a 23 77 72 | 61 70 20 6f 66 66 0a 23 |io/h.#wr|ap off.#|
|00004c90| 66 63 6f 64 65 0a 69 6e | 74 20 66 70 75 74 63 28 |fcode.in|t fputc(|
|00004ca0| 20 69 6e 74 20 63 20 2c | 20 46 49 4c 45 20 5c 2a | int c ,| FILE \*|
|00004cb0| 20 73 29 3b 0a 23 66 0a | 23 77 72 61 70 0a 0a 50 | s);.#f.|#wrap..P|
|00004cc0| 75 74 73 20 63 20 69 6e | 20 74 68 65 20 6f 75 74 |uts c in| the out|
|00004cd0| 70 75 74 20 73 74 72 65 | 61 6d 20 73 2e 00 00 00 |put stre|am s....|
|00004ce0| 44 41 54 41 cb 00 00 00 | 66 66 6c 75 73 68 0a 23 |DATA....|fflush.#|
|00004cf0| 49 6e 63 6c 75 64 65 20 | 53 74 79 6c 65 0a 23 50 |Include |Style.#P|
|00004d00| 61 72 65 6e 74 20 73 74 | 64 69 6f 2f 68 0a 23 77 |arent st|dio/h.#w|
|00004d10| 72 61 70 20 6f 66 66 0a | 23 66 63 6f 64 65 0a 69 |rap off.|#fcode.i|
|00004d20| 6e 74 20 66 66 6c 75 73 | 68 20 28 20 46 49 4c 45 |nt fflus|h ( FILE|
|00004d30| 20 5c 2a 20 73 20 29 3b | 0a 23 66 0a 23 77 72 61 | \* s );|.#f.#wra|
|00004d40| 70 0a 0a 46 6c 75 73 68 | 65 73 20 61 6e 79 20 6f |p..Flush|es any o|
|00004d50| 75 74 70 75 74 20 62 75 | 66 66 65 72 73 20 66 6f |utput bu|ffers fo|
|00004d60| 72 20 74 68 65 20 6f 75 | 74 70 75 74 20 73 74 72 |r the ou|tput str|
|00004d70| 65 61 6d 20 73 2c 20 77 | 72 69 74 69 6e 67 20 6f |eam s, w|riting o|
|00004d80| 75 74 20 74 68 65 20 64 | 61 74 61 20 74 6f 20 74 |ut the d|ata to t|
|00004d90| 68 65 20 66 69 6c 65 20 | 61 73 73 6f 63 69 61 74 |he file |associat|
|00004da0| 65 64 20 77 69 74 68 20 | 69 74 2e 00 44 41 54 41 |ed with |it..DATA|
|00004db0| dc 00 00 00 72 65 77 69 | 6e 64 0a 23 49 6e 63 6c |....rewi|nd.#Incl|
|00004dc0| 75 64 65 20 53 74 79 6c | 65 0a 23 50 61 72 65 6e |ude Styl|e.#Paren|
|00004dd0| 74 20 73 74 64 69 6f 2f | 68 0a 23 77 72 61 70 20 |t stdio/|h.#wrap |
|00004de0| 6f 66 66 0a 23 66 63 6f | 64 65 0a 76 6f 69 64 20 |off.#fco|de.void |
|00004df0| 72 65 77 69 6e 64 20 28 | 20 46 49 4c 45 20 5c 2a |rewind (| FILE \*|
|00004e00| 20 73 20 29 3b 0a 23 66 | 0a 23 77 72 61 70 0a 0a | s );.#f|.#wrap..|
|00004e10| 52 65 73 65 74 73 20 74 | 68 65 20 66 69 6c 65 20 |Resets t|he file |
|00004e20| 70 6f 73 69 74 69 6f 6e | 20 69 6e 64 69 63 61 74 |position| indicat|
|00004e30| 6f 72 20 74 6f 20 74 68 | 65 20 66 69 72 73 74 20 |or to th|e first |
|00004e40| 62 79 74 65 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |byte of |the file|
|00004e50| 2e 20 54 68 69 73 20 63 | 61 6c 6c 20 69 73 20 65 |. This c|all is e|
|00004e60| 71 75 69 76 61 6c 65 6e | 74 20 74 6f 20 3c 66 73 |quivalen|t to <fs|
|00004e70| 65 65 6b 3e 20 28 20 73 | 2c 20 30 2c 20 53 45 45 |eek> ( s|, 0, SEE|
|00004e80| 4b 5f 53 45 54 20 29 2e | 44 41 54 41 c8 00 00 00 |K_SET ).|DATA....|
|00004e90| 72 65 6d 6f 76 65 0a 23 | 49 6e 63 6c 75 64 65 20 |remove.#|Include |
|00004ea0| 53 74 79 6c 65 0a 23 50 | 61 72 65 6e 74 20 73 74 |Style.#P|arent st|
|00004eb0| 64 69 6f 2f 68 0a 23 77 | 72 61 70 20 6f 66 66 0a |dio/h.#w|rap off.|
|00004ec0| 23 66 63 6f 64 65 0a 69 | 6e 74 20 72 65 6d 6f 76 |#fcode.i|nt remov|
|00004ed0| 65 20 28 20 63 6f 6e 73 | 74 20 63 68 61 72 20 5c |e ( cons|t char \|
|00004ee0| 2a 20 6e 20 29 3b 0a 23 | 66 0a 23 77 72 61 70 0a |* n );.#|f.#wrap.|
|00004ef0| 0a 54 72 69 65 73 20 74 | 6f 20 72 65 6d 6f 76 65 |.Tries t|o remove|
|00004f00| 20 74 68 65 20 66 69 6c | 65 20 77 69 74 68 20 6e | the fil|e with n|
|00004f10| 61 6d 65 20 6e 2e 20 49 | 66 20 74 68 65 20 72 65 |ame n. I|f the re|
|00004f20| 74 75 72 6e 20 76 61 6c | 75 65 20 69 73 20 7a 65 |turn val|ue is ze|
|00004f30| 72 6f 20 74 68 65 20 6f | 70 65 72 61 74 69 6f 6e |ro the o|peration|
|00004f40| 20 77 61 73 20 73 75 63 | 63 65 73 73 66 75 6c 2e | was suc|cessful.|
|00004f50| 44 41 54 41 de 00 00 00 | 72 65 6e 61 6d 65 0a 23 |DATA....|rename.#|
|00004f60| 49 6e 63 6c 75 64 65 20 | 53 74 79 6c 65 0a 23 50 |Include |Style.#P|
|00004f70| 61 72 65 6e 74 20 73 74 | 64 69 6f 2f 68 0a 23 77 |arent st|dio/h.#w|
|00004f80| 72 61 70 20 6f 66 66 0a | 23 66 63 6f 64 65 0a 69 |rap off.|#fcode.i|
|00004f90| 6e 74 20 72 65 6e 61 6d | 65 20 28 20 63 6f 6e 73 |nt renam|e ( cons|
|00004fa0| 74 20 63 68 61 72 20 5c | 2a 20 6f 20 2c 20 63 6f |t char \|* o , co|
|00004fb0| 6e 73 74 20 63 68 61 72 | 20 5c 2a 20 6e 29 3b 0a |nst char| \* n);.|
|00004fc0| 23 66 0a 23 77 72 61 70 | 0a 0a 54 72 69 65 73 20 |#f.#wrap|..Tries |
|00004fd0| 74 6f 20 72 65 6e 61 6d | 65 20 74 68 65 20 66 69 |to renam|e the fi|
|00004fe0| 6c 65 20 77 69 74 68 20 | 6e 61 6d 65 20 6f 20 74 |le with |name o t|
|00004ff0| 6f 20 6e 2e 20 49 66 20 | 74 68 65 20 72 65 74 75 |o n. If |the retu|
|00005000| 72 6e 20 76 61 6c 75 65 | 20 69 73 20 7a 65 72 6f |rn value| is zero|
|00005010| 20 74 68 65 20 6f 70 65 | 72 61 74 69 6f 6e 20 77 | the ope|ration w|
|00005020| 61 73 20 73 75 63 63 65 | 73 73 66 75 6c 2e 00 00 |as succe|ssful...|
|00005030| 44 41 54 41 e8 00 00 00 | 74 6d 70 66 69 6c 65 0a |DATA....|tmpfile.|
|00005040| 23 49 6e 63 6c 75 64 65 | 20 53 74 79 6c 65 0a 23 |#Include| Style.#|
|00005050| 50 61 72 65 6e 74 20 73 | 74 64 69 6f 2f 68 0a 23 |Parent s|tdio/h.#|
|00005060| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|00005070| 46 49 4c 45 20 5c 2a 20 | 74 6d 70 66 69 6c 65 20 |FILE \* |tmpfile |
|00005080| 28 20 76 6f 69 64 20 29 | 3b 0a 23 66 0a 23 77 72 |( void )|;.#f.#wr|
|00005090| 61 70 0a 0a 43 72 65 61 | 74 65 73 20 61 20 6e 65 |ap..Crea|tes a ne|
|000050a0| 77 20 66 69 6c 65 20 77 | 69 74 68 20 61 20 75 6e |w file w|ith a un|
|000050b0| 69 71 75 65 20 66 69 6c | 65 6e 61 6d 65 20 66 6f |ique fil|ename fo|
|000050c0| 72 20 69 6e 70 75 74 20 | 61 6e 64 20 6f 75 74 70 |r input |and outp|
|000050d0| 75 74 2e 20 57 68 65 6e | 20 74 68 65 20 66 69 6c |ut. When| the fil|
|000050e0| 65 20 69 73 20 3c 66 63 | 6c 6f 73 65 3e 64 20 6f |e is <fc|lose>d o|
|000050f0| 72 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 65 78 |r the pr|ogram ex|
|00005100| 69 74 73 20 74 68 65 20 | 66 69 6c 65 20 69 73 20 |its the |file is |
|00005110| 64 65 6c 65 74 65 64 2e | 44 41 54 41 dc 00 00 00 |deleted.|DATA....|
|00005120| 74 6d 70 6e 61 6d 0a 23 | 49 6e 63 6c 75 64 65 20 |tmpnam.#|Include |
|00005130| 53 74 79 6c 65 0a 23 50 | 61 72 65 6e 74 20 73 74 |Style.#P|arent st|
|00005140| 64 69 6f 2f 68 0a 23 77 | 72 61 70 20 6f 66 66 0a |dio/h.#w|rap off.|
|00005150| 23 66 63 6f 64 65 0a 63 | 68 61 72 20 5c 2a 20 74 |#fcode.c|har \* t|
|00005160| 6d 70 6e 61 6d 20 28 20 | 63 68 61 72 20 5c 2a 20 |mpnam ( |char \* |
|00005170| 73 20 29 3b 0a 23 66 0a | 23 77 72 61 70 0a 0a 43 |s );.#f.|#wrap..C|
|00005180| 72 65 61 74 65 73 20 61 | 20 6e 65 77 20 75 6e 69 |reates a| new uni|
|00005190| 71 75 65 20 66 69 6c 65 | 6e 61 6d 65 2c 20 72 65 |que file|name, re|
|000051a0| 74 75 72 6e 69 6e 67 20 | 61 20 70 6f 69 6e 74 65 |turning |a pointe|
|000051b0| 72 20 74 6f 20 74 68 61 | 74 20 6e 61 6d 65 2c 20 |r to tha|t name, |
|000051c0| 61 6e 64 20 6f 70 74 69 | 6f 6e 61 6c 6c 79 20 63 |and opti|onally c|
|000051d0| 6f 70 79 69 6e 67 20 74 | 68 65 20 66 69 6c 65 6e |opying t|he filen|
|000051e0| 61 6d 65 20 74 6f 20 74 | 68 65 20 73 74 72 69 6e |ame to t|he strin|
|000051f0| 67 20 73 2e 44 41 54 41 | e4 00 00 00 66 77 72 69 |g s.DATA|....fwri|
|00005200| 74 65 0a 23 49 6e 63 6c | 75 64 65 20 53 74 79 6c |te.#Incl|ude Styl|
|00005210| 65 0a 23 50 61 72 65 6e | 74 20 73 74 64 69 6f 2f |e.#Paren|t stdio/|
|00005220| 68 0a 23 77 72 61 70 20 | 6f 66 66 0a 23 66 63 6f |h.#wrap |off.#fco|
|00005230| 64 65 0a 73 69 7a 65 5f | 74 20 66 77 72 69 74 65 |de.size_|t fwrite|
|00005240| 28 20 63 6f 6e 73 74 20 | 76 6f 69 64 20 5c 2a 20 |( const |void \* |
|00005250| 70 74 72 2c 20 73 69 7a | 65 5f 74 20 73 69 7a 65 |ptr, siz|e_t size|
|00005260| 2c 20 73 69 7a 65 5f 74 | 20 6e 2c 20 46 49 4c 45 |, size_t| n, FILE|
|00005270| 20 5c 2a 20 73 29 3b 0a | 23 66 0a 23 77 72 61 70 | \* s);.|#f.#wrap|
|00005280| 0a 0a 57 72 69 74 65 73 | 20 6e 20 6f 62 6a 65 63 |..Writes| n objec|
|00005290| 74 73 20 6f 66 20 73 69 | 7a 65 20 73 69 7a 65 20 |ts of si|ze size |
|000052a0| 66 72 6f 6d 20 74 68 65 | 20 61 72 72 61 79 20 70 |from the| array p|
|000052b0| 6f 69 6e 74 65 64 20 74 | 6f 20 62 79 20 70 74 72 |ointed t|o by ptr|
|000052c0| 20 74 6f 20 74 68 65 20 | 6f 75 74 70 75 74 20 73 | to the |output s|
|000052d0| 74 72 65 61 6d 20 73 2e | 44 41 54 41 2f 01 00 00 |tream s.|DATA/...|
|000052e0| 75 6e 67 65 74 63 0a 23 | 49 6e 63 6c 75 64 65 20 |ungetc.#|Include |
|000052f0| 53 74 79 6c 65 0a 23 50 | 61 72 65 6e 74 20 73 74 |Style.#P|arent st|
|00005300| 64 69 6f 2f 68 0a 23 77 | 72 61 70 20 6f 66 66 0a |dio/h.#w|rap off.|
|00005310| 23 66 63 6f 64 65 0a 69 | 6e 74 20 75 6e 67 65 74 |#fcode.i|nt unget|
|00005320| 63 28 20 69 6e 74 20 63 | 20 2c 20 46 49 4c 45 20 |c( int c| , FILE |
|00005330| 5c 2a 20 73 20 29 3b 0a | 23 66 0a 23 77 72 61 70 |\* s );.|#f.#wrap|
|00005340| 0a 0a 54 72 69 65 73 20 | 74 6f 20 70 75 73 68 20 |..Tries |to push |
|00005350| 74 68 65 20 63 68 61 72 | 61 63 74 65 72 20 63 20 |the char|acter c |
|00005360| 62 61 63 6b 20 69 6e 74 | 6f 20 74 68 65 20 69 6e |back int|o the in|
|00005370| 70 75 74 20 73 74 72 65 | 61 6d 20 73 2e 20 4f 6e |put stre|am s. On|
|00005380| 6c 79 20 6f 6e 65 20 63 | 68 61 72 61 63 74 65 72 |ly one c|haracter|
|00005390| 20 70 75 73 68 62 61 63 | 6b 20 69 73 20 67 75 61 | pushbac|k is gua|
|000053a0| 72 61 6e 74 65 65 64 20 | 74 6f 20 62 65 20 61 76 |ranteed |to be av|
|000053b0| 61 69 6c 61 62 6c 65 2e | 20 41 6e 79 20 63 61 6c |ailable.| Any cal|
|000053c0| 6c 73 20 74 6f 20 3c 66 | 66 6c 75 73 68 3e 2c 20 |ls to <f|flush>, |
|000053d0| 3c 66 73 65 65 6b 3e 20 | 6f 72 20 3c 66 73 65 74 |<fseek> |or <fset|
|000053e0| 70 6f 73 3e 20 64 69 73 | 63 61 72 64 20 74 68 65 |pos> dis|card the|
|000053f0| 20 70 75 73 68 65 64 20 | 62 61 63 6b 20 63 68 61 | pushed |back cha|
|00005400| 72 61 63 74 65 72 2e 00 | 44 41 54 41 fa 00 00 00 |racter..|DATA....|
|00005410| 66 67 65 74 70 6f 73 0a | 23 49 6e 63 6c 75 64 65 |fgetpos.|#Include|
|00005420| 20 53 74 79 6c 65 0a 23 | 50 61 72 65 6e 74 20 73 | Style.#|Parent s|
|00005430| 74 64 69 6f 2f 68 0a 23 | 77 72 61 70 20 6f 66 66 |tdio/h.#|wrap off|
|00005440| 0a 23 66 63 6f 64 65 0a | 69 6e 74 20 66 67 65 74 |.#fcode.|int fget|
|00005450| 70 6f 73 20 28 20 46 49 | 4c 45 20 5c 2a 20 73 2c |pos ( FI|LE \* s,|
|00005460| 20 66 70 6f 73 5f 74 20 | 2a 20 70 20 29 3b 0a 23 | fpos_t |* p );.#|
|00005470| 66 0a 23 77 72 61 70 0a | 0a 53 74 6f 72 65 73 20 |f.#wrap.|.Stores |
|00005480| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 20 74 |informat|ion in t|
|00005490| 68 65 20 6f 62 6a 65 63 | 74 20 70 6f 69 6e 74 65 |he objec|t pointe|
|000054a0| 64 20 74 6f 20 62 79 20 | 70 20 61 62 6f 75 74 20 |d to by |p about |
|000054b0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 70 6f 73 69 |the curr|ent posi|
|000054c0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |tion of |the file|
|000054d0| 20 70 6f 73 69 74 69 6f | 6e 20 69 6e 64 69 63 61 | positio|n indica|
|000054e0| 74 6f 72 2c 20 66 6f 72 | 20 6c 61 74 65 72 20 75 |tor, for| later u|
|000054f0| 73 65 20 77 69 74 68 20 | 3c 66 73 65 74 70 6f 73 |se with |<fsetpos|
|00005500| 3e 2e 00 00 44 41 54 41 | fd 00 00 00 66 73 65 74 |>...DATA|....fset|
|00005510| 70 6f 73 0a 23 49 6e 63 | 6c 75 64 65 20 53 74 79 |pos.#Inc|lude Sty|
|00005520| 6c 65 0a 23 50 61 72 65 | 6e 74 20 73 74 64 69 6f |le.#Pare|nt stdio|
|00005530| 2f 68 0a 23 77 72 61 70 | 20 6f 66 66 0a 23 66 63 |/h.#wrap| off.#fc|
|00005540| 6f 64 65 0a 69 6e 74 20 | 66 73 65 74 70 6f 73 20 |ode.int |fsetpos |
|00005550| 28 20 46 49 4c 45 20 5c | 2a 20 73 2c 20 63 6f 6e |( FILE \|* s, con|
|00005560| 73 74 20 66 70 6f 73 5f | 74 20 2a 20 70 20 29 3b |st fpos_|t * p );|
|00005570| 0a 23 66 0a 23 77 72 61 | 70 0a 0a 4d 6f 76 65 73 |.#f.#wra|p..Moves|
|00005580| 20 74 68 65 20 66 69 6c | 65 20 70 6f 73 69 74 69 | the fil|e positi|
|00005590| 6f 6e 20 69 6e 64 69 63 | 61 74 6f 72 20 66 6f 72 |on indic|ator for|
|000055a0| 20 73 20 74 6f 20 74 68 | 65 20 70 6f 73 69 74 69 | s to th|e positi|
|000055b0| 6f 6e 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |on speci|fied by |
|000055c0| 74 68 65 20 6f 62 6a 65 | 63 74 20 70 2c 20 77 68 |the obje|ct p, wh|
|000055d0| 69 63 68 20 6d 75 73 74 | 20 68 61 76 65 20 62 65 |ich must| have be|
|000055e0| 65 6e 20 66 69 6c 6c 65 | 64 20 62 79 20 61 20 63 |en fille|d by a c|
|000055f0| 61 6c 6c 20 74 6f 20 3c | 66 67 65 74 70 6f 73 3e |all to <|fgetpos>|
|00005600| 2e 00 00 00 44 41 54 41 | 97 01 00 00 74 69 6d 65 |....DATA|....time|
|00005610| 2e 68 0a 23 49 6e 63 6c | 75 64 65 20 53 74 79 6c |.h.#Incl|ude Styl|
|00005620| 65 0a 23 50 61 72 65 6e | 74 20 21 52 6f 6f 74 0a |e.#Paren|t !Root.|
|00005630| 54 69 6d 65 2e 68 20 64 | 65 63 6c 61 72 65 73 20 |Time.h d|eclares |
|00005640| 66 75 6e 63 74 69 6f 6e | 73 20 66 6f 72 20 74 69 |function|s for ti|
|00005650| 6d 65 20 68 61 6e 64 6c | 69 6e 67 0a 23 6c 69 6e |me handl|ing.#lin|
|00005660| 65 0a 46 75 6e 63 74 69 | 6f 6e 73 3a 0a 23 54 61 |e.Functi|ons:.#Ta|
|00005670| 62 6c 65 20 63 6f 6c 75 | 6d 6e 73 20 31 30 0a 3c |ble colu|mns 10.<|
|00005680| 61 62 6f 72 74 3e 0a 3c | 61 62 73 3e 0a 3c 61 74 |abort>.<|abs>.<at|
|00005690| 65 78 69 74 3e 0a 3c 61 | 74 6f 66 3e 0a 3c 61 74 |exit>.<a|tof>.<at|
|000056a0| 6f 69 3d 3e 61 74 6f 66 | 3e 0a 3c 61 74 6f 6c 3d |oi=>atof|>.<atol=|
|000056b0| 3e 61 74 6f 66 3e 0a 62 | 73 65 61 72 63 68 0a 3c |>atof>.b|search.<|
|000056c0| 63 61 6c 6c 6f 63 3e 0a | 3c 64 69 76 3e 0a 3c 65 |calloc>.|<div>.<e|
|000056d0| 78 69 74 3e 0a 3c 66 72 | 65 65 3e 0a 3c 67 65 74 |xit>.<fr|ee>.<get|
|000056e0| 65 6e 76 3e 0a 3c 6c 61 | 62 73 3d 3e 61 62 73 3e |env>.<la|bs=>abs>|
|000056f0| 0a 3c 6c 64 69 76 3d 3e | 64 69 76 3e 0a 3c 6d 61 |.<ldiv=>|div>.<ma|
|00005700| 6c 6c 6f 63 3d 3e 63 61 | 6c 6c 6f 63 3e 0a 6d 62 |lloc=>ca|lloc>.mb|
|00005710| 6c 65 6e 0a 6d 62 73 74 | 6f 77 63 73 0a 6d 62 74 |len.mbst|owcs.mbt|
|00005720| 6f 77 63 0a 3c 71 73 6f | 72 74 3e 0a 3c 72 61 6e |owc.<qso|rt>.<ran|
|00005730| 64 3e 0a 3c 72 65 61 6c | 6c 6f 63 3e 0a 3c 73 72 |d>.<real|loc>.<sr|
|00005740| 61 6e 64 3e 0a 3c 73 74 | 72 74 6f 64 3e 0a 3c 73 |and>.<st|rtod>.<s|
|00005750| 74 72 74 6f 6c 3d 3e 73 | 74 72 74 6f 64 3e 0a 3c |trtol=>s|trtod>.<|
|00005760| 73 74 72 74 6f 75 6c 3d | 3e 73 74 72 74 6f 64 3e |strtoul=|>strtod>|
|00005770| 0a 3c 73 79 73 74 65 6d | 3e 0a 77 63 73 74 6f 6d |.<system|>.wcstom|
|00005780| 62 73 0a 77 63 74 6f 6d | 62 0a 23 45 6e 64 74 61 |bs.wctom|b.#Endta|
|00005790| 62 6c 65 0a 0a 23 6c 69 | 6e 65 0a 00 44 41 54 41 |ble..#li|ne..DATA|
|000057a0| 81 02 00 00 6d 61 74 68 | 2e 68 0a 23 69 6e 63 6c |....math|.h.#incl|
|000057b0| 75 64 65 20 53 74 79 6c | 65 0a 23 50 61 72 65 6e |ude Styl|e.#Paren|
|000057c0| 74 20 21 52 6f 6f 74 0a | 4d 61 74 68 2e 68 20 64 |t !Root.|Math.h d|
|000057d0| 65 63 6c 61 72 65 73 20 | 73 65 76 65 72 61 6c 20 |eclares |several |
|000057e0| 6d 61 74 68 20 72 6f 75 | 74 69 6e 65 73 20 61 6e |math rou|tines an|
|000057f0| 64 20 73 6f 6d 65 20 63 | 6f 6e 73 74 61 6e 74 73 |d some c|onstants|
|00005800| 2e 0a 23 6c 69 6e 65 0a | 46 75 6e 63 74 69 6f 6e |..#line.|Function|
|00005810| 73 3a 0a 23 54 61 62 6c | 65 20 63 6f 6c 75 6d 6e |s:.#Tabl|e column|
|00005820| 73 20 31 30 0a 3c 61 63 | 6f 73 3e 0a 3c 61 73 69 |s 10.<ac|os>.<asi|
|00005830| 6e 3e 0a 3c 61 74 61 6e | 3e 0a 3c 61 74 61 6e 32 |n>.<atan|>.<atan2|
|00005840| 3e 0a 3c 61 74 6f 66 3e | 0a 3c 63 65 69 6c 3e 0a |>.<atof>|.<ceil>.|
|00005850| 3c 63 6f 73 3e 0a 3c 63 | 6f 73 68 3e 0a 3c 65 78 |<cos>.<c|osh>.<ex|
|00005860| 70 3e 0a 3c 66 61 62 73 | 3e 0a 3c 66 6c 6f 6f 72 |p>.<fabs|>.<floor|
|00005870| 3e 0a 3c 66 6d 6f 64 3e | 0a 3c 66 72 65 78 70 3e |>.<fmod>|.<frexp>|
|00005880| 0a 3c 6c 64 65 78 70 3e | 0a 3c 6c 6f 67 3e 0a 3c |.<ldexp>|.<log>.<|
|00005890| 6c 6f 67 31 30 3e 0a 3c | 6d 6f 64 66 3e 0a 3c 70 |log10>.<|modf>.<p|
|000058a0| 6f 77 3e 0a 3c 73 69 6e | 3e 0a 3c 73 69 6e 68 3e |ow>.<sin|>.<sinh>|
|000058b0| 0a 3c 73 71 72 74 3e 0a | 3c 74 61 6e 3e 0a 3c 74 |.<sqrt>.|<tan>.<t|
|000058c0| 61 6e 68 3e 0a 23 45 6e | 64 74 61 62 6c 65 0a 0a |anh>.#En|dtable..|
|000058d0| 0a 43 6f 6e 73 74 61 6e | 74 73 3a 0a 48 55 47 45 |.Constan|ts:.HUGE|
|000058e0| 5f 56 41 4c 09 56 61 6c | 75 65 20 72 65 74 75 72 |_VAL.Val|ue retur|
|000058f0| 6e 65 64 20 69 66 20 61 | 20 6d 61 74 68 73 20 66 |ned if a| maths f|
|00005900| 75 6e 63 74 69 6f 6e 20 | 72 65 74 75 72 6e 73 20 |unction |returns |
|00005910| 61 20 6e 75 6d 62 65 72 | 20 74 6f 6f 20 6c 61 72 |a number| too lar|
|00005920| 67 65 20 74 6f 20 62 65 | 20 72 65 70 72 65 73 65 |ge to be| represe|
|00005930| 6e 74 65 64 20 62 79 20 | 61 20 64 6f 75 62 6c 65 |nted by |a double|
|00005940| 2e 0a 45 44 4f 4d 09 45 | 72 72 6f 72 20 76 61 6c |..EDOM.E|rror val|
|00005950| 75 65 20 73 74 6f 72 65 | 64 20 69 6e 20 3c 65 72 |ue store|d in <er|
|00005960| 72 6e 6f 3e 20 69 66 20 | 61 20 6d 61 74 68 73 20 |rno> if |a maths |
|00005970| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 63 61 6c 6c |function| is call|
|00005980| 65 64 20 77 69 74 68 20 | 61 6e 20 6f 75 74 20 6f |ed with |an out o|
|00005990| 66 20 72 61 6e 67 65 20 | 70 61 72 61 6d 65 74 65 |f range |paramete|
|000059a0| 72 0a 45 52 41 4e 47 45 | 09 45 72 72 6f 72 20 76 |r.ERANGE|.Error v|
|000059b0| 61 6c 75 65 20 73 74 6f | 72 65 64 20 69 6e 20 3c |alue sto|red in <|
|000059c0| 65 72 72 6e 6f 3e 20 69 | 66 20 61 20 6d 61 74 68 |errno> i|f a math|
|000059d0| 73 20 66 75 6e 63 74 69 | 6f 6e 20 72 65 74 75 72 |s functi|on retur|
|000059e0| 6e 73 20 48 55 47 45 5f | 56 41 4c 20 6f 72 20 7a |ns HUGE_|VAL or z|
|000059f0| 65 72 6f 20 62 65 63 61 | 75 73 65 20 74 68 65 20 |ero beca|use the |
|00005a00| 72 65 74 75 72 6e 20 76 | 61 6c 75 65 20 69 73 20 |return v|alue is |
|00005a10| 6f 75 74 20 6f 66 20 72 | 61 6e 67 65 2e 00 00 00 |out of r|ange....|
|00005a20| 44 41 54 41 c4 00 00 00 | 61 62 73 2c 20 6c 61 62 |DATA....|abs, lab|
|00005a30| 73 0a 23 49 6e 63 6c 75 | 64 65 20 53 74 79 6c 65 |s.#Inclu|de Style|
|00005a40| 0a 23 50 61 72 65 6e 74 | 20 73 74 64 6c 69 62 2f |.#Parent| stdlib/|
|00005a50| 68 0a 23 77 72 61 70 20 | 6f 66 66 0a 23 66 63 6f |h.#wrap |off.#fco|
|00005a60| 64 65 0a 69 6e 74 20 61 | 62 73 20 28 20 69 6e 74 |de.int a|bs ( int|
|00005a70| 20 78 20 29 3b 0a 6c 6f | 6e 67 20 69 6e 74 20 6c | x );.lo|ng int l|
|00005a80| 61 62 73 20 28 20 6c 6f | 6e 67 20 69 6e 74 20 78 |abs ( lo|ng int x|
|00005a90| 20 29 3b 0a 23 66 0a 23 | 77 72 61 70 0a 0a 52 65 | );.#f.#|wrap..Re|
|00005aa0| 74 75 72 6e 73 20 74 68 | 65 20 61 62 73 6f 6c 75 |turns th|e absolu|
|00005ab0| 74 65 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 20 |te value| of the |
|00005ac0| 28 6c 6f 6e 67 29 20 69 | 6e 74 65 67 65 72 20 78 |(long) i|nteger x|
|00005ad0| 2e 0a 0a 2f 53 65 65 20 | 61 6c 73 6f 2f 0a 3c 66 |.../See |also/.<f|
|00005ae0| 61 62 73 3e 44 41 54 41 | 6a 01 00 00 61 74 65 78 |abs>DATA|j...atex|
|00005af0| 69 74 0a 23 49 6e 63 6c | 75 64 65 20 53 74 79 6c |it.#Incl|ude Styl|
|00005b00| 65 0a 23 50 61 72 65 6e | 74 20 73 74 64 6c 69 62 |e.#Paren|t stdlib|
|00005b10| 2f 68 0a 23 77 72 61 70 | 20 6f 66 66 0a 23 66 63 |/h.#wrap| off.#fc|
|00005b20| 6f 64 65 0a 69 6e 74 20 | 61 74 65 78 69 74 20 28 |ode.int |atexit (|
|00005b30| 20 76 6f 69 64 20 28 20 | 5c 2a 20 66 29 20 28 76 | void ( |\* f) (v|
|00005b40| 6f 69 64 29 20 29 3b 0a | 23 66 0a 23 77 72 61 70 |oid) );.|#f.#wrap|
|00005b50| 0a 0a 52 65 67 69 73 74 | 65 72 73 20 61 20 66 75 |..Regist|ers a fu|
|00005b60| 6e 63 74 69 6f 6e 20 77 | 69 74 68 20 74 68 65 20 |nction w|ith the |
|00005b70| 65 78 69 74 20 68 61 6e | 64 6c 65 72 2c 20 77 68 |exit han|dler, wh|
|00005b80| 69 63 68 20 69 73 20 63 | 61 6c 6c 65 64 20 61 66 |ich is c|alled af|
|00005b90| 74 65 72 20 61 20 63 61 | 6c 6c 20 74 6f 20 3c 65 |ter a ca|ll to <e|
|00005ba0| 78 69 74 3e 20 6f 72 20 | 74 68 65 20 65 6e 64 20 |xit> or |the end |
|00005bb0| 6f 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 2e 0a |of the p|rogram..|
|00005bc0| 0a 23 69 6e 63 6c 75 64 | 65 20 58 53 74 79 6c 65 |.#includ|e XStyle|
|00005bd0| 0a 76 6f 69 64 20 6d 65 | 73 73 61 67 65 20 28 20 |.void me|ssage ( |
|00005be0| 76 6f 69 64 20 29 3b 0a | 28 2e 2e 2e 29 0a 61 74 |void );.|(...).at|
|00005bf0| 65 78 69 74 20 28 20 6d | 65 73 73 61 67 65 20 29 |exit ( m|essage )|
|00005c00| 3b 0a 23 49 6e 63 6c 75 | 64 65 20 58 53 74 79 6c |;.#Inclu|de XStyl|
|00005c10| 65 4f 66 66 0a 77 69 6c | 6c 20 63 61 6c 6c 20 74 |eOff.wil|l call t|
|00005c20| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 6d 65 73 73 |he funct|ion mess|
|00005c30| 61 67 65 20 61 74 20 74 | 68 65 20 65 6e 64 20 6f |age at t|he end o|
|00005c40| 66 20 74 68 65 20 70 72 | 6f 67 72 61 6d 2e 00 00 |f the pr|ogram...|
|00005c50| 44 41 54 41 7b 01 00 00 | 65 78 69 74 0a 23 49 6e |DATA{...|exit.#In|
|00005c60| 63 6c 75 64 65 20 53 74 | 79 6c 65 0a 23 50 61 72 |clude St|yle.#Par|
|00005c70| 65 6e 74 20 73 74 64 6c | 69 62 2f 68 0a 23 77 72 |ent stdl|ib/h.#wr|
|00005c80| 61 70 20 6f 66 66 0a 23 | 66 63 6f 64 65 0a 76 6f |ap off.#|fcode.vo|
|00005c90| 69 64 20 65 78 69 74 20 | 28 20 69 6e 74 20 72 20 |id exit |( int r |
|00005ca0| 29 3b 0a 23 66 0a 23 77 | 72 61 70 0a 0a 46 6f 72 |);.#f.#w|rap..For|
|00005cb0| 63 65 73 20 70 72 6f 67 | 72 61 6d 20 74 65 72 6d |ces prog|ram term|
|00005cc0| 69 6e 61 74 69 6f 6e 2c | 20 63 61 6c 6c 69 6e 67 |ination,| calling|
|00005cd0| 20 61 6c 6c 20 66 75 6e | 63 74 69 6f 6e 73 20 72 | all fun|ctions r|
|00005ce0| 65 67 69 73 74 65 72 65 | 64 20 77 69 74 68 20 3c |egistere|d with <|
|00005cf0| 61 74 65 78 69 74 3e 2e | 20 41 6e 79 20 66 69 6c |atexit>.| Any fil|
|00005d00| 65 73 20 6f 70 65 6e 65 | 64 20 77 69 74 68 20 3c |es opene|d with <|
|00005d10| 66 6f 70 65 6e 3e 20 6f | 72 20 3c 74 6d 70 66 69 |fopen> o|r <tmpfi|
|00005d20| 6c 65 3e 20 77 69 6c 6c | 20 62 65 20 66 6c 75 73 |le> will| be flus|
|00005d30| 68 65 64 20 61 6e 64 20 | 63 6c 6f 73 65 64 2c 20 |hed and |closed, |
|00005d40| 61 6e 64 20 74 6d 70 66 | 69 6c 65 73 20 77 69 6c |and tmpf|iles wil|
|00005d50| 6c 20 62 65 20 64 65 6c | 65 74 65 64 2e 20 54 68 |l be del|eted. Th|
|00005d60| 65 20 70 61 72 61 6d 65 | 74 65 72 20 72 20 69 73 |e parame|ter r is|
|00005d70| 20 70 61 73 73 65 64 20 | 74 6f 20 74 68 65 20 6f | passed |to the o|
|00005d80| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 20 |perating| system |
|00005d90| 61 73 20 74 68 65 20 70 | 72 6f 67 72 61 6d 27 73 |as the p|rogram's|
|00005da0| 20 72 65 74 75 72 6e 20 | 63 6f 64 65 20 28 53 79 | return |code (Sy|
|00005db0| 73 24 52 65 74 75 72 6e | 43 6f 64 65 20 75 6e 64 |s$Return|Code und|
|00005dc0| 65 72 20 52 69 73 63 4f | 53 29 2e 00 44 41 54 41 |er RiscO|S)..DATA|
|00005dd0| 19 02 00 00 61 74 6f 66 | 20 2c 20 61 74 6f 69 2c |....atof| , atoi,|
|00005de0| 20 61 74 6f 6c 0a 23 49 | 6e 63 6c 75 64 65 20 53 | atol.#I|nclude S|
|00005df0| 74 79 6c 65 0a 23 50 61 | 72 65 6e 74 20 73 74 64 |tyle.#Pa|rent std|
|00005e00| 6c 69 62 2f 68 0a 23 77 | 72 61 70 20 6f 66 66 0a |lib/h.#w|rap off.|
|00005e10| 23 66 63 6f 64 65 0a 64 | 6f 75 62 6c 65 20 61 74 |#fcode.d|ouble at|
|00005e20| 6f 66 20 28 20 63 6f 6e | 73 74 20 63 68 61 72 20 |of ( con|st char |
|00005e30| 5c 2a 20 73 20 29 3b 0a | 69 6e 74 20 61 74 6f 69 |\* s );.|int atoi|
|00005e40| 20 28 20 63 6f 6e 73 74 | 20 63 68 61 72 20 5c 2a | ( const| char \*|
|00005e50| 20 73 20 29 3b 0a 6c 6f | 6e 67 20 69 6e 74 20 61 | s );.lo|ng int a|
|00005e60| 74 6f 6c 20 28 20 63 6f | 6e 73 74 20 63 68 61 72 |tol ( co|nst char|
|00005e70| 20 5c 2a 20 73 20 29 3b | 0a 23 66 0a 23 77 72 61 | \* s );|.#f.#wra|
|00005e80| 70 0a 0a 54 68 65 73 65 | 20 72 6f 75 74 69 6e 65 |p..These| routine|
|00005e90| 73 20 74 72 79 20 74 6f | 20 63 6f 6e 76 65 72 74 |s try to| convert|
|00005ea0| 20 74 68 65 20 73 74 72 | 69 6e 67 20 70 6f 69 6e | the str|ing poin|
|00005eb0| 74 65 64 20 74 6f 20 62 | 79 20 73 20 74 6f 20 61 |ted to b|y s to a|
|00005ec0| 20 6e 75 6d 65 72 69 63 | 20 76 61 6c 75 65 20 6f | numeric| value o|
|00005ed0| 66 20 74 68 65 69 72 20 | 72 65 74 75 72 6e 20 74 |f their |return t|
|00005ee0| 79 70 65 2e 20 54 68 65 | 20 63 6f 6e 76 65 72 73 |ype. The| convers|
|00005ef0| 69 6f 6e 20 73 74 6f 70 | 73 20 61 66 74 65 72 20 |ion stop|s after |
|00005f00| 74 68 65 20 66 69 72 73 | 74 20 69 6e 76 61 6c 69 |the firs|t invali|
|00005f10| 64 20 63 68 61 72 61 63 | 74 65 72 2e 0a 0a 23 49 |d charac|ter...#I|
|00005f20| 6e 63 6c 75 64 65 20 58 | 53 74 79 6c 65 0a 63 6f |nclude X|Style.co|
|00005f30| 6e 73 74 20 63 68 61 72 | 20 5c 2a 20 73 20 3d 20 |nst char| \* s = |
|00005f40| 22 33 2e 36 35 65 32 21 | 21 21 22 3b 0a 64 6f 75 |"3.65e2!|!!";.dou|
|00005f50| 62 6c 65 20 64 3b 0a 0a | 64 20 3d 20 61 74 6f 66 |ble d;..|d = atof|
|00005f60| 20 28 20 73 20 29 3b 0a | 70 72 69 6e 74 66 20 28 | ( s );.|printf (|
|00005f70| 20 22 54 68 65 20 64 6f | 75 62 6c 65 20 76 61 6c | "The do|uble val|
|00005f80| 75 65 20 6f 66 20 27 25 | 73 27 20 3d 20 25 6c 66 |ue of '%|s' = %lf|
|00005f90| 22 2c 20 73 20 2c 20 64 | 20 29 3b 0a 23 49 6e 63 |", s , d| );.#Inc|
|00005fa0| 6c 75 64 65 20 58 53 74 | 79 6c 65 4f 66 66 0a 70 |lude XSt|yleOff.p|
|00005fb0| 72 69 6e 74 73 20 22 54 | 68 65 20 64 6f 75 62 6c |rints "T|he doubl|
|00005fc0| 65 20 76 61 6c 75 65 20 | 6f 66 20 27 33 2e 36 35 |e value |of '3.65|
|00005fd0| 65 32 21 21 21 27 20 3d | 20 33 36 35 2e 30 30 30 |e2!!!' =| 365.000|
|00005fe0| 30 30 30 22 2e 00 00 00 | 44 41 54 41 9e 01 00 00 |000"....|DATA....|
|00005ff0| 63 61 6c 6c 6f 63 2c 20 | 6d 61 6c 6c 6f 63 0a 23 |calloc, |malloc.#|
|00006000| 49 6e 63 6c 75 64 65 20 | 53 74 79 6c 65 0a 23 50 |Include |Style.#P|
|00006010| 61 72 65 6e 74 20 73 74 | 64 6c 69 62 2f 68 0a 23 |arent st|dlib/h.#|
|00006020| 77 72 61 70 20 6f 66 66 | 0a 23 66 63 6f 64 65 0a |wrap off|.#fcode.|
|00006030| 76 6f 69 64 20 5c 2a 20 | 63 61 6c 6c 6f 63 20 28 |void \* |calloc (|
|00006040| 20 73 69 7a 65 5f 74 20 | 6e 2c 20 73 69 7a 65 5f | size_t |n, size_|
|00006050| 74 20 73 20 29 3b 0a 76 | 6f 69 64 20 5c 2a 20 6d |t s );.v|oid \* m|
|00006060| 61 6c 6c 6f 63 20 28 20 | 73 69 7a 65 5f 74 20 73 |alloc ( |size_t s|
|00006070| 20 29 3b 0a 23 66 0a 23 | 77 72 61 70 0a 0a 41 6c | );.#f.#|wrap..Al|
|00006080| 6c 6f 63 61 74 65 73 20 | 61 20 62 6c 6f 63 6b 20 |locates |a block |
|00006090| 6f 66 20 6d 65 6d 6f 72 | 79 2c 20 72 65 74 75 72 |of memor|y, retur|
|000060a0| 6e 69 6e 67 20 61 20 70 | 6f 69 6e 74 65 72 20 74 |ning a p|ointer t|
|000060b0| 6f 20 74 68 65 20 73 74 | 61 72 74 20 6f 66 20 74 |o the st|art of t|
|000060c0| 68 65 20 6d 65 6d 6f 72 | 79 2c 20 6f 72 20 4e 55 |he memor|y, or NU|
|000060d0| 4c 4c 20 69 66 20 74 68 | 65 20 6d 65 6d 6f 72 79 |LL if th|e memory|
|000060e0| 20 63 61 6e 20 6e 6f 74 | 20 62 65 20 61 6c 6c 6f | can not| be allo|
|000060f0| 63 61 74 65 64 2e 20 41 | 64 64 69 74 69 6f 6e 61 |cated. A|dditiona|
|00006100| 6c 6c 79 2c 20 63 61 6c | 6c 6f 63 20 63 6c 65 61 |lly, cal|loc clea|
|00006110| 72 73 20 74 68 65 20 6d | 65 6d 6f 72 79 20 61 72 |rs the m|emory ar|
|00006120| 65 61 20 74 6f 20 7a 65 | 72 6f 65 73 2e 20 4d 61 |ea to ze|roes. Ma|
|00006130| 6c 6c 6f 63 20 61 6c 6c | 6f 63 61 74 65 73 20 73 |lloc all|ocates s|
|00006140| 20 62 79 74 65 73 2c 20 | 77 68 69 6c 65 20 63 61 | bytes, |while ca|
|00006150| 6c 6c 6f 63 20 61 6c 6c | 6f 63 61 74 65 73 20 6e |lloc all|ocates n|
|00006160| 2a 73 20 62 79 74 65 73 | 2e 0a 0a 2f 53 65 65 20 |*s bytes|.../See |
|00006170| 61 6c 73 6f 2f 0a 3c 72 | 65 61 6c 6c 6f 63 3e 09 |also/.<r|ealloc>.|
|00006180| 3c 66 72 65 65 3e 00 00 | 44 41 54 41 68 01 00 00 |<free>..|DATAh...|
|00006190| 64 69 76 2c 20 6c 64 69 | 76 0a 23 49 6e 63 6c 75 |div, ldi|v.#Inclu|
|000061a0| 64 65 20 53 74 79 6c 65 | 0a 23 50 61 72 65 6e 74 |de Style|.#Parent|
|000061b0| 20 73 74 64 6c 69 62 2f | 68 0a 23 77 72 61 70 20 | stdlib/|h.#wrap |
|000061c0| 6f 66 66 0a 23 66 63 6f | 64 65 0a 64 69 76 5f 74 |off.#fco|de.div_t|
|000061d0| 20 64 69 76 20 28 20 69 | 6e 74 20 78 2c 20 69 6e | div ( i|nt x, in|
|000061e0| 74 20 79 20 29 3b 0a 6c | 64 69 76 5f 74 20 6c 64 |t y );.l|div_t ld|
|000061f0| 69 76 20 28 20 6c 6f 6e | 67 20 69 6e 74 20 78 2c |iv ( lon|g int x,|
|00006200| 20 6c 6f 6e 67 20 69 6e | 74 20 79 20 29 3b 0a 23 | long in|t y );.#|
|00006210| 66 0a 23 77 72 61 70 0a | 0a 52 65 74 75 72 6e 20 |f.#wrap.|.Return |
|00006220| 74 68 65 20 71 75 6f 74 | 69 65 6e 74 20 61 6e 64 |the quot|ient and|
|00006230| 20 72 65 6d 61 69 6e 64 | 65 72 20 6f 66 20 74 68 | remaind|er of th|
|00006240| 65 20 64 69 76 69 73 69 | 6f 6e 20 78 2f 79 2e 0a |e divisi|on x/y..|
|00006250| 0a 23 69 6e 63 6c 75 64 | 65 20 58 53 74 79 6c 65 |.#includ|e XStyle|
|00006260| 0a 69 6e 74 20 78 20 3d | 20 31 31 2c 20 79 20 3d |.int x =| 11, y =|
|00006270| 20 34 3b 0a 64 69 76 5f | 74 20 64 3b 0a 0a 64 20 | 4;.div_|t d;..d |
|00006280| 3d 20 64 69 76 28 20 78 | 2c 20 79 20 29 3b 0a 70 |= div( x|, y );.p|
|00006290| 72 69 6e 74 66 20 28 20 | 22 25 64 20 5c 2a 20 25 |rintf ( |"%d \* %|
|000062a0| 64 20 2b 20 25 64 20 3d | 20 25 64 22 2c 20 79 2c |d + %d =| %d", y,|
|000062b0| 20 64 2e 71 75 6f 74 2c | 20 64 2e 72 65 6d 2c 20 | d.quot,| d.rem, |
|000062c0| 78 20 29 3b 0a 23 69 6e | 63 6c 75 64 65 20 58 53 |x );.#in|clude XS|
|000062d0| 74 79 6c 65 4f 66 66 0a | 70 72 69 6e 74 73 20 22 |tyleOff.|prints "|
|000062e0| 34 20 2a 20 32 20 2b 20 | 33 20 3d 20 31 31 22 2e |4 * 2 + |3 = 11".|
|000062f0| 44 41 54 41 23 02 00 00 | 63 61 6c 6c 6f 63 2c 20 |DATA#...|calloc, |
|00006300| 6d 61 6c 6c 6f 63 0a 23 | 49 6e 63 6c 75 64 65 20 |malloc.#|Include |
|00006310| 53 74 79 6c 65 0a 23 50 | 61 72 65 6e 74 20 73 74 |Style.#P|arent st|
|00006320| 64 6c 69 62 2f 68 0a 23 | 77 72 61 70 20 6f 66 66 |dlib/h.#|wrap off|
|00006330| 0a 23 66 63 6f 64 65 0a | 76 6f 69 64 20 5c 2a 20 |.#fcode.|void \* |
|00006340| 72 65 61 6c 6c 6f 63 20 | 28 20 76 6f 69 64 20 5c |realloc |( void \|
|00006350| 2a 20 6d 2c 20 73 69 7a | 65 5f 74 20 73 20 29 3b |* m, siz|e_t s );|
|00006360| 0a 23 66 0a 23 77 72 61 | 70 0a 0a 52 65 73 69 7a |.#f.#wra|p..Resiz|
|00006370| 65 73 20 61 20 62 6c 6f | 63 6b 20 70 72 65 76 69 |es a blo|ck previ|
|00006380| 6f 75 73 6c 79 20 61 6c | 6c 6f 63 61 74 65 64 20 |ously al|located |
|00006390| 62 79 20 3c 6d 61 6c 6c | 6f 63 3d 3e 63 61 6c 6c |by <mall|oc=>call|
|000063a0| 6f 63 3e 2c 20 3c 63 61 | 6c 6c 6f 63 3e 20 6f 72 |oc>, <ca|lloc> or|
|000063b0| 20 3c 72 65 61 6c 6c 6f | 63 3e 2e 20 54 68 65 20 | <reallo|c>. The |
|000063c0| 6e 65 77 20 73 69 7a 65 | 20 69 73 20 67 69 76 65 |new size| is give|
|000063d0| 6e 20 62 79 20 73 2e 20 | 54 68 65 20 6e 65 77 20 |n by s. |The new |
|000063e0| 6d 65 6d 6f 72 79 20 70 | 6f 69 6e 74 65 72 2c 20 |memory p|ointer, |
|000063f0| 72 65 74 75 72 6e 65 64 | 20 62 79 20 72 65 61 6c |returned| by real|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.